You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would the team be open to adding support for OpenTelemetry semantic conventions in OpenTelemetryTraceEventListener ? This could be implemented behind a feature flag, allowing users to toggle between the existing format and semantic conventions. I’d be happy to contribute this feature if there’s interest!
I’m currently using the OpenTelemetryTraceEventListener extension for Oracle JDBC and love the additional insights it provides for database calls, such as SQL ID and Connection ID. However, when using this listener alongside OpenTelemetry’s auto-instrumentation library (io.opentelemetry.jdbc), I noticed that both create spans for the same database operations, leading to duplicate spans.
Ideally I would turn off the instrumentation from io.opentelemetry.jdbc but I would need spans from OpenTelemetryTraceEventListener to follow the OpenTelemetry semantic conventions for database spans so users don't lose compatibility with existing tools and dashboards that expect the semantic conventions.
The text was updated successfully, but these errors were encountered:
Hi @agent-adam, the span created by the OpenTelemetryTraceEventListener should be a child span of the one created by the agent. This may be a bug. @fmeheust?
Hi @agent-adam, the span created by the OpenTelemetryTraceEventListener should be a child span of the one created by the agent. This may be a bug. @fmeheust?
Hi @jeandelavarene it looks like the two spans should have a parent/child relationship. This can be due to the fact that we are closing the scope in the BEFORE event, maybe we should keep the scope open for the duration of the span. I will look into it.
Concerning the convention should we follow 1.29.0 (which at the moment has a status "Release candidate") or 1.24.0 ?
Proposal:
Would the team be open to adding support for OpenTelemetry semantic conventions in
OpenTelemetryTraceEventListener
? This could be implemented behind a feature flag, allowing users to toggle between the existing format and semantic conventions. I’d be happy to contribute this feature if there’s interest!Note: long term we could even add an Oracle semantic conventions that folks can follow similar to what HBASE have done https://opentelemetry.io/docs/specs/semconv/database/hbase/
Context:
I’m currently using the
OpenTelemetryTraceEventListener
extension for Oracle JDBC and love the additional insights it provides for database calls, such asSQL ID
andConnection ID
. However, when using this listener alongside OpenTelemetry’s auto-instrumentation library (io.opentelemetry.jdbc), I noticed that both create spans for the same database operations, leading to duplicate spans.Example:
Ideally I would turn off the instrumentation from
io.opentelemetry.jdbc
but I would need spans fromOpenTelemetryTraceEventListener
to follow the OpenTelemetry semantic conventions for database spans so users don't lose compatibility with existing tools and dashboards that expect the semantic conventions.The text was updated successfully, but these errors were encountered: