alibaba / opentelemetry-go-auto-instrumentation

OpenTelemetry Compile-Time Instrumentation for Golang
Apache License 2.0
252 stars 35 forks source link

Can we provide a custom tracer? #177

Closed oliver-zhang closed 1 week ago

oliver-zhang commented 2 weeks ago

Is your feature request related to a problem? Please describe.

The otel.library.name property value of all components is 'go.opentelemetry.io/otel/sdk/tracer '

Describe the solution you'd like

The otel.library.name property value of each component is its own

Describe alternatives you've considered

No response

Additional context

No response

123liuziming commented 2 weeks ago

LGTM, we can discuss the topic on today's community meeting. Thanks!

oliver-zhang commented 2 weeks ago

LGTM, we can discuss the topic on today's community meeting. Thanks!

Thanks for reply. If you need help, I'd like to contribute.

123liuziming commented 2 weeks ago

LGTM

Actually we have the component.name attribute in our commercial version to show the plugin name, so we are glad to see the enhancement!

123liuziming commented 1 week ago

https://opentelemetry.io/docs/specs/semconv/attributes-registry/otel/ We should use otel.scope.name as an substitution