summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/tracing
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2023-02-08 12:49:17 -0500
committerGitHub <noreply@github.com>2023-02-08 17:49:17 +0000
commit90798f3eea6b7a219a9bb55f680919c0504263e3 (patch)
treea7ac2da2828e2739c01621103075924054f44105 /modules/caddyhttp/tracing
parent536c28d4dc4b048d710bd37903857f0de15ab3c5 (diff)
go.mod: Upgrade various dependencies (#5362)
* chore: Upgrade various dependencies * Support CEL file matcher with no args * Document `http.request.orig_uri.path.*`, reorder placeholders in docs --------- Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/tracing')
-rw-r--r--modules/caddyhttp/tracing/tracer.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/caddyhttp/tracing/tracer.go b/modules/caddyhttp/tracing/tracer.go
index e5c5107..d113a56 100644
--- a/modules/caddyhttp/tracing/tracer.go
+++ b/modules/caddyhttp/tracing/tracer.go
@@ -13,7 +13,7 @@ import (
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/sdk/resource"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
- semconv "go.opentelemetry.io/otel/semconv/v1.7.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
"go.uber.org/zap"
)
@@ -108,8 +108,8 @@ func (ot *openTelemetryWrapper) newResource(
webEngineVersion string,
) (*resource.Resource, error) {
return resource.Merge(resource.Default(), resource.NewSchemaless(
- semconv.WebEngineNameKey.String(webEngineName),
- semconv.WebEngineVersionKey.String(webEngineVersion),
+ semconv.WebEngineName(webEngineName),
+ semconv.WebEngineVersion(webEngineVersion),
))
}