Update modules/caddyhttp/tracing/module.go

Co-authored-by: Mohammed Al Sahaf <mohammed@caffeinatedwonders.com>
This commit is contained in:
Cedric Ziel 2024-06-22 15:36:13 +02:00 committed by GitHub
parent b6966f4797
commit 023999e073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ type Tracing struct {
// SpanName is a span name. It should follow the naming guidelines here: // SpanName is a span name. It should follow the naming guidelines here:
// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#span // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#span
SpanName string `json:"span"` SpanName string `json:"span"`
InjectServerTimingHeader bool `json:"injectServerTimingHeader"` InjectServerTimingHeader bool `json:"injectServerTimingHeader,omitempty"`
// otel implements opentelemetry related logic. // otel implements opentelemetry related logic.
otel openTelemetryWrapper otel openTelemetryWrapper