diff --git a/serve/opentelemetry.go b/serve/opentelemetry.go index 4e5b777c2f..3837728f54 100644 --- a/serve/opentelemetry.go +++ b/serve/opentelemetry.go @@ -11,6 +11,7 @@ import ( "github.com/rs/zerolog" "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp" "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" "go.opentelemetry.io/otel/exporters/otlp/otlptrace" @@ -32,6 +33,7 @@ func newResource(p *plugin.Plugin) *resource.Resource { semconv.SchemaURL, semconv.ServiceName("cloudquery-"+p.Name()), semconv.ServiceVersion(p.Version()), + attribute.Key("cloudquery.plugin.path").String(p.Team()+"/"+string(p.Kind())+"/"+p.Name()), ), ) if err != nil {