opentelemetry-exporter-gcp-monitoring
Google Cloud Monitoring exporter for OpenTelemetry
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and valid Google Cloud credentials for authentication to Cloud Monitoring.
- 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 · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use without restriction.
last release 2026-08-03 (11 days) · last repo commit 2026-08-12 · 83 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,535,227 downloads/mo, #1,892 on PyPI
Alternatives
Verify before relying
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())]
)
)- 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.
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 on this page. Verify before relying on it.
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
opentelemetry-exporter-gcp-monitoring on PyPI
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.
Requires Python 3.9 or later and valid Google Cloud credentials for authentication to Cloud Monitoring.
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())]
)
)
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 the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesgoogle-cloud-monitoringopentelemetry-apiopentelemetry-sdkopentelemetry-resourcedetector-gcptyping-extensions |
| Maintenance | Actively maintained 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,535,227 / month, #1,892 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: opentelemetry_exporter_gcp_monitoring-1.14.0a0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “opentelemetry metrics export gcp”
- opentelemetry-exporter-gcp-monitoringExports OpenTelemetry metrics to Google Cloud Monitoring, but is…
- opentelemetry-exporter-gcp-loggingExports OpenTelemetry logs to Google Cloud Logging, integrating…
- elastic-opentelemetryElastic's customized distribution of OpenTelemetry Python that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also opentelemetry-exporter-gcp-logging · opentelemetry-exporter-gcp-trace · opentelemetry-resourcedetector-gcp · opentelemetry-propagator-gcp · opentelemetry-exporter-otlp-proto-grpc · azure-monitor-opentelemetry-exporter · opentelemetry-exporter-otlp · opentelemetry-exporter-otlp-proto-common · newrelic-telemetry-sdk