--- id: opentelemetry-exporter-gcp-monitoring version: "1.14.0a0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-exporter-gcp-monitoring — Google Cloud Monitoring exporter for OpenTelemetry License: permissive · Maintenance: active · Downloads: 6.5M/mo ## What it is and what it does This package exports OpenTelemetry metrics to Google Cloud Monitoring by wrapping the google-cloud-monitoring client library. It integrates with the OpenTelemetry SDK's metric reader pattern, allowing you to define meters and counters that automatically ship to Cloud Monitoring on a periodic schedule. However, the package is deprecated. Google Cloud now supports native OpenTelemetry Protocol (OTLP) ingestion directly for metrics, traces, and logs via the Telemetry API, making this exporter unnecessary for new projects. The maintainers recommend migrating to standard OTLP exporters instead. If you are starting a new integration, use OTLP; if you maintain existing code using this exporter, plan a migration. Use it for: - Exporting custom application metrics from Python services running on Google Cloud to Cloud Monitoring dashboards. - Integrating OpenTelemetry instrumentation with legacy Google Cloud monitoring infrastructure that predates OTLP support. - Monitoring batch jobs or background workers that emit metrics via OpenTelemetry SDK. - Bridging existing OpenTelemetry metric pipelines to Cloud Monitoring when OTLP ingestion is not yet available in your environment. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Exports OpenTelemetry metrics to Google Cloud Monitoring, but is deprecated in favor of native OTLP ingestion via the Telemetry API. No, unless you are maintaining existing code already using this exporter. For new projects, use native OTLP exporters instead—Google explicitly recommends this migration path. The package is deprecated and actively discouraged by its maintainers. ## Install pip install opentelemetry-exporter-gcp-monitoring uv add opentelemetry-exporter-gcp-monitoring poetry add opentelemetry-exporter-gcp-monitoring ## Installing opentelemetry-exporter-gcp-monitoring Before you install: Low install friction with a pure-Python wheel and active maintenance (last commit 2026-08-12), but the package is explicitly deprecated and Google recommends migrating to standard OTLP exporters instead. License in practice: Apache-2.0 permissive license allows commercial and private use without restriction. Quickstart: pip install opentelemetry-exporter-gcp-monitoring from opentelemetry import metrics from opentelemetry.exporter.cloud_monitoring import CloudMonitoringMetricsExporter from opentelemetry.sdk.metrics import MeterProvider from opentelemetry.sdk.metrics.export import PeriodicExportingMetricReader metrics.set_meter_provider( MeterProvider( metric_readers=[PeriodicExportingMetricReader(CloudMonitoringMetricsExporter())] ) ) Requires Python 3.9 or later and valid Google Cloud credentials for authentication to Cloud Monitoring. Verify before relying: - Whether existing deployments using this exporter will continue to work after Google deprecates the underlying API. - Performance characteristics and metric throughput limits compared to native OTLP ingestion. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 6.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags opentelemetry metrics export gcp, google cloud monitoring exporter, cloud monitoring metrics python, opentelemetry gcp integration, stackdriver metrics exporter, deprecated, observability, gcp [View on SkillFed](https://skillfed.io/packages/opentelemetry-exporter-gcp-monitoring) · [View on PyPI](https://pypi.org/project/opentelemetry-exporter-gcp-monitoring/)