Skip to content

Commit

Permalink
add deprecation notice to Tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jun 17, 2024
1 parent 6cc6cea commit a5fa1ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ type Config struct {
// If Tracer is nil, requests will not be traced. Note however that
// OtelTracerProvider may not be nil, in which case the request will
// be traced by a different tracer.
//
// Deprecated: Tracer is replaced by TracerProvider in a shift towards
// OpenTelemetry. Please use TracerProvider.
Tracer *apm.Tracer

// TracerProvider holds an optional otel TracerProvider for tracing
Expand Down

0 comments on commit a5fa1ad

Please sign in to comment.