Cloud Trace Exporter Example

These examples show how to use OpenTelemetry to send tracing data to Cloud Trace.

Basic Example

To use this exporter you first need to:
  • Installation

pip install opentelemetry-api
pip install opentelemetry-sdk
pip install opentelemetry-exporter-cloud-trace
  • Run example


Checking Output

After running any of these examples, you can go to Cloud Trace overview to see the results.