Versions in this module Expand all Collapse all v1 v1.0.1 Apr 1, 2022 v1.0.0 Mar 31, 2022 Changes in this version + var DiscardTracer *atatus.Tracer + func NewDiscardTracer() *atatus.Tracer + func WithTransaction(f func(ctx context.Context)) (model.Transaction, []model.Span, []model.Error) + func WithTransactionOptions(opts atatus.TransactionOptions, f func(ctx context.Context)) (model.Transaction, []model.Span, []model.Error) + func WriteTraceTable(writer io.Writer, tx model.Transaction, spans []model.Span) + func WriteTraceWaterfall(w io.Writer, tx model.Transaction, spans []model.Span) + type HTTPTestSuite struct + Handler http.Handler + Recorder *transporttest.RecorderTransport + Tracer *atatus.Tracer + func (s *HTTPTestSuite) SetupSuite() + func (s *HTTPTestSuite) SetupTest() + func (s *HTTPTestSuite) TearDownSuite() + func (s *HTTPTestSuite) TestExplicitErrorCapture() + func (s *HTTPTestSuite) TestImplicitWrite() + func (s *HTTPTestSuite) TestPanicAfterWrite() + func (s *HTTPTestSuite) TestPanicBeforeWrite() + type LogRecord struct + Format string + Level string + Message string + type LogfLogger interface + Logf func(string, ...interface{}) + type RecordLogger struct + Records []LogRecord + func (l *RecordLogger) Debugf(format string, args ...interface{}) + func (l *RecordLogger) Errorf(format string, args ...interface{}) + func (l *RecordLogger) Warningf(format string, args ...interface{}) + type RecordingTracer struct + func NewRecordingTracer() *RecordingTracer + func (rt *RecordingTracer) WithTransaction(f func(ctx context.Context)) (model.Transaction, []model.Span, []model.Error) + func (rt *RecordingTracer) WithTransactionOptions(opts atatus.TransactionOptions, f func(ctx context.Context)) (model.Transaction, []model.Span, []model.Error) + type TestLogger struct + func NewTestLogger(l LogfLogger) TestLogger + func (t TestLogger) Debugf(format string, args ...interface{}) + func (t TestLogger) Errorf(format string, args ...interface{}) + type WatchConfigFunc func(context.Context, apmconfig.WatchParams) <-chan apmconfig.Change + func (f WatchConfigFunc) WatchConfig(ctx context.Context, params apmconfig.WatchParams) <-chan apmconfig.Change