Skip to content

Commit

Permalink
fix: OpenTelemetry schema URL panic
Browse files Browse the repository at this point in the history
  • Loading branch information
disq committed Dec 18, 2024
1 parent b12dc10 commit c921c18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions serve/opentelemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ import (
func newResource(p *plugin.Plugin) *resource.Resource {
r, err := resource.Merge(
resource.Default(),
resource.NewWithAttributes(
semconv.SchemaURL,
resource.NewSchemaless(
semconv.ServiceName("cloudquery-"+p.Name()),
semconv.ServiceVersion(p.Version()),
),
Expand Down

0 comments on commit c921c18

Please sign in to comment.