Warning
DEPRECATION NOTICE: This repository and all of its contents are deprecated and will be archived on October 30th, 2026. Please refer to the Migration Guide for detailed instructions on migrating your application to standard OpenTelemetry OTLP exporters and W3C Trace Context propagation.
This repo provides OpenTelemetry Python exporters, propagators, and resource detectors for Google Cloud Platform.
To get started with instrumentation in Google Cloud, see Generate traces and metrics with Python.
The OpenTelemetry Google Cloud Resource Detector (opentelemetry-resourcedetector-gcp) has moved to the opentelemetry-python-contrib repository:
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/resource/opentelemetry-resourcedetector-gcp
To learn more about instrumentation and observability, including opinionated recommendations for Google Cloud Observability, visit Instrumentation and observability.
API docs and additional examples are available at https://google-cloud-opentelemetry.readthedocs.io/en/latest/
All packages are available on PyPI for installation with pip.
See the contributing guide.