googleapis / nodejs-spanner

Node.js client for Google Cloud Spanner: the world’s first fully managed relational database service to offer both strong consistency and horizontal scalability.
https://cloud.google.com/spanner/
Apache License 2.0
135 stars 98 forks source link

Opentelemtry integration #2033

Open OperationalFallacy opened 4 months ago

OperationalFallacy commented 4 months ago

Hi,

We're running Node-based backend that is using Spanner database. Application telemetry worked well with Opentelemetry packages, however there is no tracing for Spanner calls.

Unlike java client that has Opentelemtry integrated, https://github.com/googleapis/java-spanner I do not see anything that mentions Opentelemetry or instrumentation in this repository.

Can you please explain how instrumentation should be configured for the Spanner Nodejs library? I mean basic configuration, for everything that includes GCP native services - no external monitoring or tracing involved.

Thank you Roman

surbhigarg92 commented 4 months ago

Hi @OperationalFallacy Unfortunately NodeJs library does not have OpenTelemetry Traces and Metrics support currently.