skillfed

opentelemetry-exporter-prometheus-remote-write

Prometheus Remote Write Metrics Exporter for OpenTelemetry

opentelemetry-exporter-prometheus-remote-write v0.65b0 1.4M downloads/30d#4,010 on PyPI1,086
Permissive license Apache-2.0 Active released

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

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

opentelemetry-exporter-prometheus-remote-write on PyPI

pip

pip install opentelemetry-exporter-prometheus-remote-write

uv

uv add opentelemetry-exporter-prometheus-remote-write

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — opentelemetry-api, opentelemetry-sdk, protobuf, python-snappy, requests
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)

Evidence: opentelemetry_exporter_prometheus_remote_write-0.65b0-py3-none-any.whl

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

Tags

prometheus remote write exporteropentelemetry metrics exportprometheus backend integrationopentelemetry prometheusremote metrics collectionobservability metrics exportmetrics push exporter
observabilitymetrics-exportprometheus

More Monitoring packages