Skip to content
Discussion options

You must be logged in to vote

Argh, sorry, this is a bug. Thanks for the report.

In the latest version of google-cloud-cpp, the storage and bigtable libraries do not respect the GOOGLE_CLOUD_CPP_OPENTELEMETRY_TRACING variable. This is not by design. It was an oversight.

I fixed this for bigtable in #13748. I will send a PR to fix storage.

I think your options are to:

A. Explicitly set OpenTelemetryTracingOption in your client. e.g.

// Create a client with OpenTelemetry tracing enabled.
auto options = gc::Options{}.set<gc::OpenTelemetryTracingOption>(true);
auto client = gcs::Client(options);

B. Wa…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@willie
Comment options

@dbolduc
Comment options

dbolduc Mar 12, 2024
Collaborator

Answer selected by willie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants