opentelemetry.io icon indicating copy to clipboard operation
opentelemetry.io copied to clipboard

FYI - `google-cloud-cpp` is a C++ library with a native OpenTelemetry instrumentation

Open dbolduc opened this issue 1 year ago • 1 comments

I am responding to this request from https://opentelemetry.io/docs/languages/cpp/library/#use-natively-instrumented-libraries:

image

The Google Cloud C++ Client Libraries are natively instrumented with OpenTelemetry to collect traces.

Repo: https://github.com/googleapis/google-cloud-cpp/

Tracing Quickstart: https://cloud.google.com/cpp/docs/quickstart-open-telemetry

Slightly more detailed quickstart (with pictures of traces!): https://github.com/googleapis/google-cloud-cpp/tree/main/google/cloud/opentelemetry/quickstart


Let me know how to add google-cloud-cpp as an integration for opentelemetry-cpp. I am happy to help.

dbolduc avatar Jun 26 '24 18:06 dbolduc

Thanks for sharing @dbolduc!

@open-telemetry/cpp-approvers PTAL

svrnm avatar Jun 27 '24 10:06 svrnm

@svrnm nothing has happened. I am not sure @open-telemetry/cpp-approvers is a thing.

dbolduc avatar Aug 28 '24 15:08 dbolduc

@svrnm nothing has happened. I am not sure @open-telemetry/cpp-approvers is a thing.

yes, this is a thing, you can not see the team since you are not a member of the github opentelemetry org, a limitation by github.

Note that you can add the library to the registry and set the library to be native to be listed on that page

svrnm avatar Sep 04 '24 07:09 svrnm

this can be fixed by adding a file to the registry that includes deatils on google-cloud-cpp

svrnm avatar Nov 06 '24 11:11 svrnm