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
{{ message }}
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
spanner_v1/trace: trace_call span attributes are hard-coded and don't follow OpenTelemetry semantic conventions; should instead use incorrect standardized OpenTelemetry attributes #1170
We should import the package opentelemetry.semconv.attributes and from it we can use the following imported variables
"db.type" should be DB_SYSTEM aka "db.system" = "google.cloud.spanner"
"db.instance_name" should be DB_NAME aka "db.name"
"db.url" should use DB_CONNECTION_STRING aka "db.connection_string"
"net.host.name" should use NET_HOST_NAME
The code in question was written in 2020, long before OpenTelemetry standardized semantic conventions hence I am sending over a change pretty shortly to fix this!
Activity
fix: use standardized OpenTelemetry attributes when tracing
fix: use standardized OpenTelemetry attributes when tracing
fix: use standardized OpenTelemetry attributes when tracing
fix: use standardized OpenTelemetry attributes when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
fix: use modernized and standardized OpenTelemetry when tracing
34 remaining items
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events
observability: annotate Session+SessionPool events (#1207)