Skip to content

Commit

Permalink
fix(otel): Remove outdated schema url
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlehoux committed Oct 21, 2023
1 parent 81a45aa commit 8d0450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func getTracerProvider(ctx context.Context, serviceName string) *trace.TracerPro
// version, env, ...
providerResource, err := resource.Merge(
resource.Default(),
resource.NewWithAttributes(semconv.SchemaURL, semconv.ServiceName(serviceName)),
resource.NewSchemaless(semconv.ServiceName(serviceName)),
)
core.Expect(err, "error creating resource")

Expand Down

0 comments on commit 8d0450c

Please sign in to comment.