open-telemetry / opentelemetry.io

The OpenTelemetry website and documentation
https://opentelemetry.io
Creative Commons Attribution 4.0 International
565 stars 1.23k forks source link

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

Open dbolduc opened 5 months ago

dbolduc commented 5 months ago

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.

svrnm commented 5 months ago

Thanks for sharing @dbolduc!

@open-telemetry/cpp-approvers PTAL

dbolduc commented 3 months ago

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

svrnm commented 3 months ago

@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 commented 3 weeks ago

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