Skip to content

Latest commit

 

History

History

opentelemetry-resourcedetector-gcp

README.rst

OpenTelemetry Google Cloud Resource Detector

pypi

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