--- id: opentelemetry-exporter-prometheus-remote-write version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-exporter-prometheus-remote-write — Prometheus Remote Write Metrics Exporter for OpenTelemetry License: permissive · Maintenance: active · Downloads: 1.4M/mo ## What it is and what it does This package bridges OpenTelemetry's Python metrics collection to Prometheus-compatible remote storage systems. Instead of scraping metrics from an HTTP endpoint like traditional Prometheus, it pushes metrics directly to a remote backend that implements the Prometheus Remote Write protocol. This eliminates the need to run and manage a separate Prometheus server instance. The exporter integrates with OpenTelemetry's standard SDK via a MetricReader, meaning it fits naturally into any OpenTelemetry instrumentation pipeline. It depends on protobuf for serialization, requests for HTTP transport, and python-snappy for optional compression. The package is in beta status but actively maintained, with support for Python 3.10 through 3.14. Use it for: - Push metrics from a Python application directly to a managed remote storage service without local Prometheus infrastructure. - Centralize metrics collection from multiple services into a single remote backend for unified monitoring. - Reduce operational overhead by eliminating the need to deploy and manage Prometheus scrape targets. - Integrate OpenTelemetry-instrumented Python services into existing Prometheus Remote Write ecosystems. - Export metrics in real-time to cloud-hosted or on-premises remote storage backends. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Exports metrics from OpenTelemetry Python SDK directly to Prometheus Remote Write backends without running a Prometheus server. Yes, if you are already using OpenTelemetry in Python and have a Prometheus Remote Write backend to send metrics to. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive license. It is in beta, so expect the API to potentially change; verify that authentication and failure handling meet your operational needs before deploying to production. ## Install pip install opentelemetry-exporter-prometheus-remote-write uv add opentelemetry-exporter-prometheus-remote-write poetry add opentelemetry-exporter-prometheus-remote-write ## Installing opentelemetry-exporter-prometheus-remote-write Before you install: Low install friction with a pure-Python wheel. Active maintenance with a recent release (29 days old) and ongoing commits. Depends on core OpenTelemetry packages plus protobuf, requests, and python-snappy—all stable, widely-used libraries. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note any modifications. Quickstart: pip install opentelemetry-exporter-prometheus-remote-write from opentelemetry.exporter.prometheus_remote_write import PrometheusRemoteWriteMetricReader from opentelemetry.sdk.metrics import MeterProvider reader = PrometheusRemoteWriteMetricReader(endpoint="http://backend/api/prom/push") meter_provider = MeterProvider(metric_readers=[reader]) Requires Python 3.10 or later; target backend must support Prometheus Remote Write protocol. Verify before relying: - Whether the package handles authentication to remote backends (API keys, TLS, basic auth). - Performance characteristics and metric batching behavior under high-volume scenarios. - Retry and failure-handling strategy when the remote backend is unavailable. - Specific endpoint format and configuration requirements for different backend types. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags prometheus remote write exporter, opentelemetry metrics export, prometheus backend integration, opentelemetry prometheus, remote metrics collection, observability metrics export, metrics push exporter, observability, metrics-export, prometheus [View on SkillFed](https://skillfed.io/packages/opentelemetry-exporter-prometheus-remote-write) · [View on PyPI](https://pypi.org/project/opentelemetry-exporter-prometheus-remote-write/)