opentelemetry-exporter-prometheus-remote-write
Prometheus Remote Write Metrics Exporter for OpenTelemetry
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; target backend must support Prometheus Remote Write protocol.
- Low install friction with a pure-Python wheel.
- Active maintenance with a recent release (29 days old) and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — 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.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,353,060 downloads/mo, #4,010 on PyPI
Alternatives
Verify before relying
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])- 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.
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 on this page. Verify before relying on it.
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
opentelemetry-exporter-prometheus-remote-write on PyPI
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.
Requires Python 3.10 or later; target backend must support Prometheus Remote Write protocol.
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])
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 the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesopentelemetry-apiopentelemetry-sdkprotobufpython-snappyrequests |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,353,060 / month, #4,010 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.14 |
Evidence: opentelemetry_exporter_prometheus_remote_write-0.65b0-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 › “prometheus remote write exporter”
- opentelemetry-exporter-prometheus-remote-writeExports metrics from OpenTelemetry Python SDK directly to Prometheus…
- prometheus-fastapi-instrumentatorAdds Prometheus metrics collection and exposure to FastAPI…
- prometheus-flask-exporterExports HTTP request metrics from Flask applications to Prometheus,…
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-prometheus · prometheus-remote-writer · prometheus-flask-exporter · opentelemetry-exporter-otlp-proto-grpc · opentelemetry-exporter-jaeger-proto-grpc · uptrace · opentelemetry-exporter-jaeger-thrift