opentelemetry-exporter-prometheus
Prometheus Metric Exporter for OpenTelemetry
Decision gist · record as of 2026-08-14
Yes, if you are using OpenTelemetry for metrics and need Prometheus integration. The package is actively maintained, has low install friction, and carries a permissive license. However, note the beta status (0.65b0) and the hard constraint against multiprocessing—verify both fit your use case before committing to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Does not support multiprocessing environments—single-process applications only.
- Low friction installation with three stable runtime dependencies (opentelemetry-api, opentelemetry-sdk, prometheus-client).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.
last release 2026-07-16 (29 days) · last repo commit 2026-08-13 · 2,587 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,429,563 downloads/mo, #346 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-exporter-prometheus
from opentelemetry.exporter.prometheus import PrometheusMetricReader
from opentelemetry.sdk.metrics import MeterProvider
reader = PrometheusMetricReader()
meter_provider = MeterProvider(metric_readers=[reader])- Whether the beta version (0.65b0) is suitable for production workloads or if a stable release is recommended
- Performance characteristics and overhead when exporting high-cardinality metrics
- Compatibility with specific Prometheus versions or configurations
What it is and what it does
This package bridges OpenTelemetry's metrics collection framework with Prometheus, allowing you to instrument your application with OpenTelemetry and expose those metrics in Prometheus's native format. It acts as a metric reader that converts OpenTelemetry metrics into Prometheus-compatible output, typically served over HTTP for Prometheus to scrape.
The exporter depends on opentelemetry-api and opentelemetry-sdk for metric collection, and prometheus-client to handle the HTTP endpoint and metric formatting. It's designed for single-process applications; multiprocessing is not supported. The package is actively maintained and supports modern Python versions (3.10 through 3.14), though it remains in beta status.
Use it for
- Instrument a Python service with OpenTelemetry and expose metrics to an existing Prometheus monitoring stack
- Export application metrics (requests, latency, errors) from a web service for Prometheus scraping
- Integrate OpenTelemetry observability into a microservice that feeds metrics to a Prometheus time-series database
- Replace or supplement direct Prometheus instrumentation with OpenTelemetry's vendor-neutral metrics API
- Set up metrics collection for a single-process application without multiprocessing complexity
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using OpenTelemetry for metrics and need Prometheus integration.
The package is actively maintained, has low install friction, and carries a permissive license. However, note the beta status (0.65b0) and the hard constraint against multiprocessing—verify both fit your use case before committing to production.
Install
opentelemetry-exporter-prometheus on PyPI
Before you install
Low friction installation with three stable runtime dependencies (opentelemetry-api, opentelemetry-sdk, prometheus-client). Repository is active with recent commits and no archived status. Note: beta version (0.65b0) indicates ongoing development.
Requires Python 3.10 or later. Does not support multiprocessing environments—single-process applications only.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.
Quickstart
pip install opentelemetry-exporter-prometheus
from opentelemetry.exporter.prometheus import PrometheusMetricReader
from opentelemetry.sdk.metrics import MeterProvider
reader = PrometheusMetricReader()
meter_provider = MeterProvider(metric_readers=[reader])
Verify before relying
- Whether the beta version (0.65b0) is suitable for production workloads or if a stable release is recommended
- Performance characteristics and overhead when exporting high-cardinality metrics
- Compatibility with specific Prometheus versions or configurations
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesopentelemetry-apiopentelemetry-sdkprometheus-client |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 99,429,563 / month, #346 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: OpenTelemetryFramework :: OpenTelemetry :: ExportersIntended Audience :: DevelopersProgramming 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-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 › “opentelemetry prometheus integration”
- opentelemetry-exporter-prometheusExports OpenTelemetry metrics to Prometheus for scraping and…
- opentelemetry-exporter-prometheus-remote-writeExports metrics from OpenTelemetry Python SDK directly to Prometheus…
- dagster-prometheusIntegrates Prometheus metrics collection and export into Dagster data…
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-remote-write · prometheus-api-client · django-prometheus · prometheus-flask-exporter · airflow-exporter · prometheus-client · opentelemetry-exporter-otlp · opentelemetry-exporter-otlp-proto-grpc · prometheus-remote-writer