Google Cloud Resource Detector for OpenTelemetry
Project Links
Meta
Author: OpenTelemetry Authors
Requires Python: >=3.10
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Programming Language
- Python
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
This library provides support for detecting GCP resources like GCE, GKE, etc.
Installation
pip install opentelemetry-resourcedetector-gcp
Usage
The GoogleCloudResourceDetector is automatically used by the OpenTelemetry SDK when it is installed in the python environment.
If you are setting resource detectors through the environment variable OTEL_EXPERIMENTAL_RESOURCE_DETECTORS, you should use the value gcp, for the GoogleCloudResourceDetector to be installed.
References
1.14.0
Jul 24, 2026
1.13.0
Jul 22, 2026
1.12.0a0
Apr 28, 2026
1.11.0a0
Nov 04, 2025
1.10.0a0
Oct 14, 2025
1.9.0a0
Feb 04, 2025
1.8.0a0
Jan 08, 2025
1.7.0a0
Aug 27, 2024
1.6.0a0
Oct 16, 2023
1.5.0a0
May 17, 2023
1.4.0a0
Dec 05, 2022
1.3.0a0
Apr 21, 2022
1.2.0a0
Apr 05, 2022
1.1.0a0
Jan 13, 2022
1.0.0a0
Apr 22, 2021