-
I have a C++ program that I recently added OpenTelemetry instrumentation to. Same program uses Cloud Storage, as well. In vcpkg (very recent version), I added the I've not changed any other code, as I've already defined a global exporter, etc. in my existing code. I'm not sending my Otel data to Cloud Trace, FWIW, but I'm seeing all of my traces, etc. in Uptrace where I have things configured, so I'm pretty sure that isn't the problem. Is there more I have to do to make this work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Argh, sorry, this is a bug. Thanks for the report. In the latest version of I fixed this for I think your options are to: A. Explicitly set google-cloud-cpp/google/cloud/opentelemetry/quickstart/quickstart.cc Lines 38 to 40 in 8ca67ec B. Wait for us to make the fix, release a new version of Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
Argh, sorry, this is a bug. Thanks for the report.
In the latest version of
google-cloud-cpp
, thestorage
andbigtable
libraries do not respect theGOOGLE_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 fixstorage
.I think your options are to:
A. Explicitly set
OpenTelemetryTracingOption
in your client. e.g.google-cloud-cpp/google/cloud/opentelemetry/quickstart/quickstart.cc
Lines 38 to 40 in 8ca67ec
B. Wa…