From 023999e07307357a36be772e3fde91571cc02c8c Mon Sep 17 00:00:00 2001 From: Cedric Ziel Date: Sat, 22 Jun 2024 15:36:13 +0200 Subject: [PATCH] Update modules/caddyhttp/tracing/module.go Co-authored-by: Mohammed Al Sahaf --- modules/caddyhttp/tracing/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/tracing/module.go b/modules/caddyhttp/tracing/module.go index c0c1566c2..20a54dde2 100644 --- a/modules/caddyhttp/tracing/module.go +++ b/modules/caddyhttp/tracing/module.go @@ -26,7 +26,7 @@ type Tracing struct { // 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 SpanName string `json:"span"` - InjectServerTimingHeader bool `json:"injectServerTimingHeader"` + InjectServerTimingHeader bool `json:"injectServerTimingHeader,omitempty"` // otel implements opentelemetry related logic. otel openTelemetryWrapper