-
Couldn't load subscription status.
- Fork 352
Open
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Feature Description
For users of Cloud SQL Auth Proxy who also use trace observability with or without Cloud Trace, it would be ideal if Cloud SQL Auth Proxy were instrumented in such a way as to:
- Emit client spans in OTLP format that conform to OTel DB Semantic Conventions
- Support wiring to
telemetry.googleapis.com(or regionalized endpoints thereof) - Support wiring to 3rd party or user-supplied OTel Collectors via standard OTel environment variables or OTel declarative config
- Include resource attributes aligned with GCP resource detectors
- Propagate W3C TraceContext
- Include GCP-specific span attributes as appropriate such as the
gcp.resource.nameattribute identifying the canonical resource name of the destination database being operated on
See also:
- https://opentelemetry.io/docs/specs/semconv/database/database-spans/
- https://opentelemetry.io/docs/specs/semconv/database/mysql/
- https://cloud.google.com/stackdriver/docs/reference/telemetry/overview
- https://cloud.google.com/trace/docs/migrate-to-otlp-endpoints
- https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
- https://opentelemetry.io/docs/languages/sdk-configuration/general/
- https://github.com/open-telemetry/opentelemetry-configuration
- https://opentelemetry.io/blog/2023/sunsetting-opencensus/
Sample code
No response
Alternatives Considered
No response
Additional Details
Happy to discuss more privately over GVC regarding the context and motivation behind the request.
cedricziel
Metadata
Metadata
Assignees
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.