Categorygo.elastic.co/apm/module/apmzap/v2
modulepackage
2.6.3
Repository: https://github.com/elastic/apm-agent-go.git
Documentation: pkg.go.dev

# Functions

TraceContext returns zap.Fields containing the trace context of the transaction and span contained in ctx, if any.

# Constants

DefaultFatalFlushTimeout is the default value for Hook.FatalFlushTimeout.
FieldKeySpanID is the field key for the span ID.
FieldKeyTraceID is the field key for the trace ID.
FieldKeyTransactionID is the field key for the transaction ID.

# Structs

Core is an implementation of zapcore.Core, reporting log records as errors to the APM Server.