When sending OpenTelemetry metrics to Prometheus over OTLP fits your estate
Push OTLP into Prometheus when your teams already run Prometheus, have standardized on OpenTelemetry, and want application metrics to arrive without every target being scraped. Prometheus is an open-source monitoring and alerting toolkit licensed under Apache-2.0. Its default model is pull: it collects metrics over HTTP from targets found through service discovery or static configuration, and you query the stored data with PromQL. There is no paid enterprise edition of the project itself, so the money goes to infrastructure, storage, implementation and the people who run it. OTLP ingestion changes the transport, not the data model: SDKs or a Collector send metrics to Prometheus, which then stores them alongside scraped series.
Push makes most sense when workloads are short-lived or hard to reach from Prometheus. A batch job or function may finish before a scrape occurs, and a Collector in front of a segmented network may be the only component allowed to open connections. Scraping every instance also means every service needs a discoverable endpoint. Keep scraping for long-running services that already expose metrics well. Push is not a reason to drop the pull model everywhere, and mixing both is common. Before committing, confirm with your Prometheus version's documentation how the OTLP receiver is enabled and which metric types and resource attributes it maps.
The trade-off to accept is about accuracy. The Prometheus documentation says the project values reliability over precision and is not a good choice where 100% accuracy is required, such as per-request billing. Pushed metrics that pass through a buffering Collector can be delayed or dropped during an outage, and a gap in a pushed series looks different from a failed scrape target. Plan for alerts that watch the pipeline itself, not only the application values. Also decide which Prometheus release line you will run. The project's minor releases receive bug fixes only for a limited period, while long-term support releases receive fixes for one year, so check the Prometheus release cycle page before choosing a version to support.
Push versus scrape: which metric path to choose
Prometheus can pull metrics from targets or receive them pushed over OTLP, and most estates will use some of each. The decisions below cover where the Collector sits, how each path fails, how short-lived jobs get their metrics out, and what changes later when you need to switch.
Where the Collector sits
Decide whether metrics go straight from SDKs to Prometheus or pass through a Collector first. A Collector gives you one place to add resource attributes, batching, retries and authentication, but it becomes a component you must size, monitor and keep upgraded. Direct SDK export keeps the path shorter but spreads export settings across every service. Confirm the current OTLP receiver behavior in the Prometheus documentation before you pick a layout.
Collector docsCost of changing the path
Scraping needs each target exposed on an HTTP endpoint and a scrape configuration per job, which is easy to standardize with service discovery. OTLP push moves that work into SDK and Collector configuration, so moving a service later means changing its exporter settings and redeploying it. Estimate the number of services that would need a change in each direction before committing, and ask any implementation partner to price that migration separately.
Failure behavior when a path breaks
With scraping, Prometheus records a failed scrape as a gap it can alert on, so a dead target is visible by default. With push, data is lost if the receiver is down and the exporter cannot buffer or retry long enough, and the absence of data can look like a quiet system. Plan alerts on both the receiver and the sender, and test what happens during a Prometheus restart before production traffic depends on it.
Short-lived jobs and batch work
Batch jobs and cron tasks often finish before Prometheus can scrape them, which makes push the usual choice for their metrics. Prometheus also supports pushing short-lived job metrics through an intermediary gateway, which is a different mechanism from OTLP push. Decide per job type whether OTLP or a gateway fits better, and check how each handles metric types and timestamps for jobs that run for seconds.
Prometheus overviewMetric type and label coverage
Not every OpenTelemetry metric type maps cleanly onto Prometheus data types, and conversion rules affect histograms, sums and gauges differently. Resource attributes also become labels, which can multiply series counts if they carry high-cardinality values. List the metric types your services emit, then confirm coverage and conversion behavior against current Prometheus and Collector documentation before you rely on dashboards built from them.
Storage and retention ownership
Whichever path you choose, Prometheus stores samples in a local time series database that is not clustered or replicated. Scraped and pushed data land in the same store, so the retention and capacity decisions are shared. Ask who owns the Prometheus host, its disks and its upgrades, and whether a remote write target will hold longer history. Confirm the default retention and configuration options in the storage documentation for your release line.
- Default retention
- 15 days
How OTLP metrics reach Prometheus
The flow starts with instrumented applications that export metrics over OTLP. They can send directly to Prometheus's OTLP receiver, or through a Collector running as an agent beside services or as a gateway shared by many sources. The trust boundary sits between application networks and the monitoring network, so check which side the receiver and any authentication extension sit on. Prometheus then serves PromQL queries and forwards firing alerts to Alertmanager, and optional remote write can copy samples to long-term storage.
Two OTLP paths into Prometheus, with alerting and optional long-term storage.
Configuration options and when each fits
In this model, each application's OpenTelemetry SDK sends metrics straight to Prometheus's OTLP endpoint, with no Collector between them. There is less to deploy and fewer components to upgrade, but every service carries its own export settings, and changing an endpoint or credential means redeploying applications.
- Endpoint and protocol: Set the metrics exporter endpoint to the Prometheus OTLP path and choose a protocol that both the SDK and Prometheus support. Confirm the exact path and protocol in the Prometheus documentation for your version.
- Batching and retry: Tune the periodic metric reader interval and the exporter's timeout in the SDK. The SDK has limited retry options compared with a Collector, so a Prometheus outage can drop data.
- Authentication: Authenticator extensions run in the Collector, so this route has no built-in place for OIDC checks or OAuth2 tokens. You would need a proxy in front of Prometheus to add them.
- Resource attributes: Each SDK sets its own resource attributes, such as service name and version. Standardize these in code, because they become Prometheus labels and inconsistent values create duplicate series.
This route fits a small number of services owned by one team. Check the stability of the metrics SDK for your language before you commit, because maturity varies by language.
A gateway is a central Collector that accepts OTLP from many applications or agents and exports to Prometheus. Applications point at one internal address, and platform engineers control retries, batching, authentication and attribute rules in one configuration. The cost is a service to size, scale and keep available.
- Receiver authentication: Attach an authenticator extension, such as OIDC, to the OTLP receiver so the gateway checks who is sending before it accepts data.
- Exporter credentials: Use the oauth2client extension on the Prometheus exporter so outgoing requests carry the token that Prometheus expects.
- Batching and queues: Put a batch processor and a memory limiter in the pipeline, then configure the exporter's sending queue and retry-on-failure settings to absorb short Prometheus outages.
- Attribute handling: Use resource and transform processors to keep or drop resource attributes before they become labels, which limits label cardinality.
- Binding: Since v0.110.0, server components bind to localhost by default, so set the receiver address explicitly for network access and restrict it.
This route fits multi-team environments that need one control point. Each Collector component has its own stability level documented in its README, so review those before you pin a release from the Collector releases page.
An agent runs next to workloads, often as a DaemonSet on Kubernetes or as a service on each host. Applications send OTLP to a local address, and the agent forwards to Prometheus. This keeps network hops short and lets the agent add host or pod attributes at the source.
- Local endpoint: Applications export to a loopback or node-local address, which avoids cross-network calls from each process.
- Local buffering: The agent's sending queue holds data during short upstream interruptions, but the buffer is local and sized per node, so check memory limits.
- Source attributes: Detection-style resource processors can add node, host or pod metadata before export, which gives consistent labels across services.
- Authentication: Each agent needs credentials for the exporter, so use the oauth2client extension and manage secrets per deployment, not per application.
- Upgrades: Every agent is a running instance, so version drift and configuration drift grow with node count. Plan a rollout process before you adopt this model.
This route fits Kubernetes clusters and host fleets where local collection matters more than a single control point. Ask your team to confirm that the processors and extensions you need are included in your chosen distribution, because a minimal build may exclude components you expect.
Enabling the OTLP receiver in Prometheus step by step
This sequence takes a Prometheus server from its current release line to a verified state where OpenTelemetry metrics arrive over OTLP, with the receiver bound to a protected address and resource attributes mapped to labels you can query.
Confirm the Prometheus release line
Platform or monitoring engineers check which Prometheus line they will run before changing any configuration. The current long-term support line is 3.13, released July 1, 2026 and supported until July 31, 2027, according to the Prometheus release cycle page. The latest release on GitHub is v3.15.0, published September 25, 2026. Confirm which line your organization is approved to run, and note that non-LTS minor releases stop receiving bug fixes about six weeks after the next minor cycle begins. The step is done when the target version is written into your change record and the running binary reports that version.
Enable the OTLP receiver in configuration
The platform engineer updates the Prometheus startup flags or configuration so the OTLP metric ingestion endpoint is enabled. Confirm the exact flag or configuration key for your chosen release in the Prometheus documentation for that version, since the setup can differ between lines. Keep this change in version control with the rest of the Prometheus configuration. The step is done when Prometheus restarts cleanly and the logs show no configuration errors for the OTLP path.
Bind the receiver to a protected address
Decide which network interface and port the OTLP endpoint listens on, and restrict access to the Collectors and services that should send to it. Avoid binding to all interfaces unless a firewall or network policy limits who can reach the port. Prometheus has no built-in client authentication for this path, so place TLS and authentication in front of it or use network isolation, and review the Prometheus security model before go-live. The step is done when a connection test from an approved sender succeeds and a connection test from an unapproved network segment fails.
Point a Collector or SDK at the endpoint
The engineer configures an OpenTelemetry Collector OTLP exporter, or an application SDK exporter, with the Prometheus endpoint and the path the receiver expects. Start with one non-production service so any protocol mismatch shows up on a small surface. Confirm the exporter settings against the Collector configuration documentation for the version you deploy. The step is done when the Collector or SDK logs show successful export with no repeated retry or rejection messages.
Verify ingested series with PromQL
An operator runs PromQL queries in the Prometheus expression browser or an API client to confirm the expected metric names appear. Query the metric by name, then filter by the job or service label to confirm the series belong to the sending workload. Check that values change over time as the service runs. The step is done when the query returns the expected series and the values update on successive evaluations.
Check resource attribute to label mapping
The engineer compares the labels on the ingested series with the resource attributes set on the sending service, such as service name and instance identifiers. Confirm how each attribute is translated into a Prometheus label in your release, because the mapping and naming rules can differ from what the instrumentation emits. Record the mapping in a shared document so dashboards and alert rules use the same label names. The step is done when every label that alerts or dashboards depend on is confirmed in a query result and written down.
How resource attributes become Prometheus labels
Resource attributes are the most consequential part of an OTLP metrics rollout, because they decide which labels every series carries in Prometheus. Attributes such as service.name, service.namespace and service.instance.id describe the producer of the telemetry, and when they arrive over OTLP they are converted into Prometheus labels, with dots replaced by underscores (for example, service_name). Attributes that identify the resource, such as service.instance.id, can change on every restart or pod replacement, so each new value creates a new series. The exact translation, including which resource attributes are promoted to labels by default, which are dropped and how the target_info series is used, depends on the Prometheus version and its OTLP settings. Confirm the mapping rules for your version in the official Prometheus OTLP documentation before you assume anything about label names.
High-cardinality attributes are the usual cause of series growth. Prometheus stores a separate time series for each unique combination of label values, so an attribute with thousands of possible values, such as a user identifier, request path, container ID or pod name carried on every data point, multiplies storage and query cost across every metric it touches. Data point attributes and resource attributes both count, and a single careless attribute added in application code can reach every series from that service. Prometheus documentation values reliability over precision for this reason, and it does not solve a cardinality problem on its own. Before rollout, list the attributes each service emits, estimate the number of distinct values for each one in your own environment, and record which ones are allowed as labels.
Decide the mapping and dropping rules before the first service sends metrics, not after dashboards and alerts depend on the current label names. Changing a label name later breaks queries, recording rules and alert expressions, and removing a high-cardinality label leaves a gap in history that is hard to explain to an auditor or on-call engineer. Agree a short attribute allow list per service namespace, decide where drops happen (in the SDK, in a Collector transform or filter processor, or in Prometheus itself), and test the result with a non-production workload that matches your real label shape. Ask your implementation partner or internal platform team to document the rules in version control, so every change to a resource attribute is reviewed like any other configuration change.
Protecting the OTLP receiver and telemetry path
An OTLP receiver accepts data from any client that can reach it, so it becomes an ingest surface that needs the same care as any other service. The cards below cover where that surface is exposed, how the Collector authenticates and encrypts traffic, what sensitive data should be removed before it reaches Prometheus, and how to keep the Collector build small.
Limit network exposure of the receiver
Decide which networks, workloads and namespaces can reach the OTLP HTTP and gRPC endpoints before you enable them. Since Collector v0.110.0, server components bind to localhost by default rather than 0.0.0.0, so a receiver only listens beyond the host when you change its endpoint setting on purpose. Check that every binding in your configuration matches the network you planned, and confirm it with a port scan from outside the intended segment.
Collector security practicesAuthenticate incoming connections
Collector authenticator extensions can check the identity of clients that send OTLP data, for example with OIDC tokens. Without one, any reachable client can write series into your Prometheus, which can distort dashboards and alert conditions. Ask your platform team which identity each sending workload will use, and test that a request without a valid credential is rejected before you open the receiver to more senders.
Collector configuration docsEncrypt transport end to end
Telemetry often carries hostnames, service names, and identifiers that help an attacker map your environment. Enable TLS on the OTLP receiver and on the exporter that writes to Prometheus, and manage certificates through your normal PKI process with a defined renewal path. Confirm that the Prometheus OTLP endpoint is reached over HTTPS and that plaintext connections fail rather than falling back silently.
Protect Collector configuration secrecy
Collector configuration files often hold exporter credentials, tokens and endpoint addresses. Store them in a secrets manager or a restricted volume, not in source control or container images, and limit read access to the service account that runs the Collector. Review who can edit the configuration, since a change to an exporter or receiver can redirect or expose all metrics in the pipeline.
Redact sensitive attributes in the pipeline
Resource attributes and metric labels can carry values such as user identifiers, query strings or internal paths that should not reach a shared metrics store. Use the redaction processor to delete or mask those attributes before export, and keep a list of the attribute keys each team sends. Test the processor with sample data, because a label that Prometheus stores as a time series is harder to remove once dashboards depend on it.
Build a minimal Collector distribution
Each receiver, processor and exporter in a Collector build adds code you must patch and review. Use the Collector Builder to include only the OTLP receiver, the processors you use and the Prometheus-compatible exporter you need, then record the component list in your change records. Pair the build with the signed release artifacts, SHA256 checksums and SBOM files that ship with each Collector release, and verify them before deployment.
Collector release artifactsWhat sending OpenTelemetry metrics to Prometheus costs and requires
Does Prometheus have a paid enterprise edition that adds to the cost?
No. Prometheus is licensed under Apache-2.0 according to its GitHub repository, and there is no paid enterprise edition of the project itself. The cost of running it comes from the infrastructure it runs on, the storage it writes to, the implementation work to set it up, and the people who operate it. Any vendor-supported distribution, managed service or long-term storage product you add is a separate decision with its own pricing, so ask for those line items explicitly in any quote.
What drives the infrastructure and storage cost of OTLP metrics into Prometheus?
The main drivers are the number of active time series, the rate at which samples arrive, and how long you keep data. Prometheus stores data in a local time series database with a default retention of 15 days, configurable by time or size, so longer retention needs more disk. Local storage is not clustered or replicated, so resilience means extra instances, backups or remote storage, each of which adds cost. Resource attributes that become labels with high cardinality are often the biggest hidden multiplier, so review them before you size anything.
How long does it take to implement OTLP metrics ingestion into Prometheus?
Duration depends on the number of services, how many already emit OpenTelemetry metrics, whether the Collector is already deployed, and how much naming and label cleanup the team needs to agree on. A pilot against one or two services in a test environment can be scoped quickly, while rolling out across many teams, with protection on the receiver, dashboards and alert rules rebuilt on the new names, takes longer. Ask any partner for a written timeline based on your service count and environments, and do not accept a duration that is not tied to a scope.
What does our team need to provide before the work starts?
You need named owners for the Prometheus server, the Collector and the applications that will send metrics. You also need access to the environments where Prometheus runs, a decision on who may write to the OTLP receiver, and a list of services with their current metric names and labels. Security and platform teams should confirm network paths, TLS and authentication requirements, and where the Collector will run. Without these inputs, scope tends to grow during the build because naming, access and ownership questions surface late.
Can a small team set up OTLP metrics into Prometheus without outside help?
A small team with working Prometheus and Collector experience can often handle a limited pilot. The harder parts are protecting the OTLP receiver, aligning SDK and Collector settings, deciding how resource attributes map to labels, and keeping dashboards and alerts working as metric names change. Those tasks need someone who will also operate the system after go-live, so check whether anyone on the team has time for ongoing upkeep, upgrades and on-call response before deciding to proceed alone.
When should we hire outside help for OTLP metrics instead of keeping scrape-based monitoring?
Consider outside help when you need OTLP metrics from many services, when you must meet security or compliance reviews for the receiver and Collector, or when your team lacks capacity to run the pipeline. Scraping remains a reasonable choice for stable targets that expose Prometheus metrics and can be discovered through service discovery or static configuration. Prometheus also supports pushing short-lived job metrics through an intermediary gateway, which may suit batch jobs better than a full OTLP move. A written assessment should compare both paths against your targets, risks and staffing.
What does DeployOpen cover if we decide to engage a partner?
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including the Prometheus server and the Collector pipelines that feed it. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope, and you should ask it to separate one-time implementation work from recurring operations.
Which Prometheus release line should we plan around for long-term support?
Prometheus long-term support releases receive bug fixes for one year, and the current LTS line is 3.13, released July 1, 2026 and supported until July 31, 2027, according to the project's release cycle page. Non-LTS minor releases generally stop receiving bug fixes after six weeks, so choosing an LTS line affects how often you must upgrade. Confirm the current support dates on the release cycle page before you plan, because your upgrade budget and staffing depend on them.
Running the pipeline after go-live
Once metrics flow over OTLP, the Prometheus release cycle becomes an operating task. A new Prometheus minor release starts every six weeks, and a minor release generally stops receiving bug fixes after those six weeks, so a team that stays on a minor line will fall behind quickly. Most organizations should run a long-term support line instead, which receives bug fixes for one year. Check the Prometheus release cycle page for the current LTS line and its end-of-life date, and assign an owner to review each patch release. Pair that owner with the Collector release cadence, since the Collector and the SDKs in your services also move on their own schedules.
Watch three things on the Collector and on Prometheus itself. Track Collector health through its own telemetry, including refused or dropped metric points and exporter failures, so a broken OTLP path does not look like a quiet service. Track series growth in Prometheus, because resource attributes become labels and a new attribute with high cardinality can multiply active series without any change to alert rules. Set a review step before new services or label-producing attributes reach production. Confirm with your vendor which Collector metrics are exposed by your distribution and which are stable in your version.
Plan storage, retention and recovery together. Local Prometheus storage defaults to 15 days of retention, configurable by time or size, and it is not clustered or replicated, so treat the server as a single-node database with its own backup and restore test. If you need longer history, decide whether remote write to a separate long-term store is in scope. For Alertmanager, run it as a cluster using its --cluster flags and point Prometheus at every instance, not at a load balancer. Coordinate upgrades across SDKs, the Collector and Prometheus in one change calendar, and confirm the supported OTLP ingestion behavior for each Prometheus version before you upgrade.

