Monitoring the OpenTelemetry Collector itself

Learn how to watch your OpenTelemetry Collector pipelines with internal metrics, queue signals and alerts that catch silent data loss before teams notice missing telemetry.

On this page

Why monitor the Collector that monitors everything else

A Collector pipeline carries most of your telemetry, so a fault inside it can stay invisible while application dashboards look healthy. The OpenTelemetry Collector is a vendor-agnostic way to receive, process and export traces, metrics and logs. It can run as an agent next to each service, as a gateway that accepts data from many sources, or as both in one design. Every hop is a place where data can be refused, queued, delayed or dropped, and the services that emit the telemetry usually never learn that it was lost. OpenTelemetry also is not an observability backend. It does not store or chart anything itself, so the proof that data arrived depends on the backend you chose and on the Collector's own reporting about what it accepted and what it failed to send.

Self-monitoring becomes necessary as soon as the Collector is shared infrastructure rather than a convenience for one team. Plan it before the first production cutover, not after the first gap in a dashboard. Decide which Collector instances expose internal telemetry, which system scrapes it, and which alerts page someone. Confirm in the release notes for the Collector version you deploy which internal metric names and endpoints that build provides, because these details change between releases. Also decide where the Collector's own logs and metrics go, since a Collector that only reports into the pipeline it is itself monitoring cannot tell you when that pipeline has stopped. Ask your platform or monitoring team to name an owner for these alerts before go-live.

How Collector telemetry reaches a separate monitoring backend

The diagram starts with application SDKs sending traces, metrics and logs to a gateway Collector, which fans them out through its pipelines to the backends your teams query. The Collector also exposes its own internal metrics on a separate endpoint, which a scraper in a different monitoring path collects and sends to a monitoring backend with alerting. Check that the scraper, its storage and the alert routing run without any dependency on the gateway pipeline, because a broken pipeline is exactly when you need the alerts.

Application data flows through the gateway, while its own health metrics take a separate path to alerting.

Which self-monitoring option fits which team

This table compares three ways to watch the Collector itself: scraping its internal metrics with Prometheus, exporting its telemetry to a separate backend, and running a dedicated monitoring Collector. Read each row for when the option fits, what it depends on, and what it misses, then pick the combination that covers your failure modes. Component stability varies, so confirm each component's status in its README before relying on it.

OptionWhen it fitsWhat it depends onWhat it fails to catch
Prometheus scrape of internal metricsTeams already running Prometheus who want counters for refused, failed and dropped data alongside other infrastructure alertsThe Collector's internal metrics endpoint being enabled and reachable from your scraper, plus alert rules written against the exact metric names in your Collector versionA Collector that is down or stuck, since the scrape target disappears with it, and any data lost before the metrics endpoint is up
Exporting Collector telemetry to a separate backendOrganizations that want Collector health in a different system from the one carrying application telemetry, so an outage in the main pipeline does not hide its own failureA second export path from the Collector, network access to that backend, and a credential and retention plan for the self-monitoring dataSilent loss inside the Collector if the self-monitoring export shares the same queue or exporter that is failing, and gaps when the Collector cannot reach either backend
Dedicated monitoring CollectorLarger platforms where one small Collector scrapes or receives the health telemetry of the others, separating observation from production trafficA separate deployment with its own sizing, configuration review and upgrades, and a clear rule for which Collector watches whichFailures of the monitoring Collector itself, which needs its own watcher, and gaps in coverage for Collectors that nothing has been pointed at
Alerts on absence of dataEvery team, as a complement to the options above, because a Collector that stops reporting is often the first sign of troubleA known expected reporting interval per Collector and an alert rule that fires when a series goes missingProblems that keep the metric flowing but at the wrong level, such as a rising refused count, which needs threshold alerts as well
Component stability checksAny team enabling internal metrics or self-monitoring components, since support differs across Collector componentsReading each component's README in the Collector repository and confirming its stability level for your version before you depend on its metricsChanges in metric names or availability between releases, which can break dashboards and alerts without any visible error

Which signals catch silent data loss

Silent data loss rarely announces itself, so the Collector's own telemetry has to show where data is refused, failed, queued or slowed. Each signal family below points to a different failure point, and each one links to the troubleshooting page that covers its fix.

Refused data at receivers

Receivers reject data when a client sends something the Collector cannot parse, when a request is malformed, or when a downstream component applies backpressure. The refused counters for each receiver show which input is failing and which signal type is affected. Check them per receiver and per signal, because a single healthy pipeline can hide one broken source. Start with the dropped data troubleshooting page when these counters rise.

Failed exporter sends

Exporter failure counters track batches that the Collector could not deliver to a backend after its retries. A rise here often means authentication changed, a destination endpoint moved, or the backend is rejecting payloads. Watch sent and failed counts side by side for each exporter, since the ratio shows whether loss is growing. Use the dropped data troubleshooting page to trace retries and timeouts.

Queue saturation

Sending queues hold data between a pipeline stage and an exporter. When the queue size approaches its configured capacity, new batches are dropped rather than delayed, so the loss is silent unless you alert on it. Track queue size and the count of rejected items against the configured limit for each exporter. Confirm the limit against your container memory before changing it, and see the restarts and memory pressure page for sizing guidance.

Memory limiter activity

The memory_limiter processor refuses data when the Collector nears its memory budget, which protects the process but creates loss on purpose. Its refusal counters and the process memory metrics show whether this is happening during traffic peaks or constantly. Frequent activity usually points to undersized limits, a slow exporter holding data in memory, or a traffic spike that the agent or gateway was not sized for. Read the restarts and memory pressure page before adjusting any value.

Drop in expected throughput

Some loss produces no error counter at all, for example when an application stops sending, a log file rotates away from the file receiver, or a sampling change reduces volume upstream. Compare received item counts against a baseline for each pipeline and signal, and alert on sustained falls rather than single dips. A flat line in one service is often the first clue, so pair it with the broken traces page when spans start arriving in fragments.

How to set up Collector self-monitoring step by step

This sequence turns the Collector's own internal telemetry into a monitored signal, so refused, failed and queued data becomes visible before it silently disappears. Each step produces a artifact your team can check before moving to the next one.

  1. Enable internal telemetry in the Collector configuration

    Start by turning on the Collector's internal telemetry in the service section of its configuration, setting the metrics level your team needs and confirming the exact keys against the configuration reference for your Collector version. Your platform or observability engineers make this change in the same version-controlled config repository used for pipelines, so it is reviewed like any other change. You know this step is done when a rendered config from your deployment tooling shows the telemetry block and the Collector starts cleanly with it applied.

  2. Expose the metrics endpoint on a restricted interface

    Bind the internal metrics endpoint to an address that only your metrics scraper can reach, such as a dedicated pod or host interface, a private network segment or a network policy that allows one source. Recent Collector releases bind server components to localhost by default, so confirm the binding you actually set rather than assuming it. Check the result from the scraper's network position with a plain HTTP request, and from an unapproved host to confirm it is refused.

  3. Scrape the endpoint with your existing metrics system

    Add a scrape target to the metrics system your team already runs, such as Prometheus or a compatible collector, with a stable job label so every Collector instance is identifiable by deployment and pipeline. Keep the scrape interval and retention consistent with your other infrastructure metrics so alert windows behave predictably. The step is complete when each Collector instance appears as an up target and the internal series for receivers, exporters and queues return values in a query.

  4. Build a dashboard for each pipeline

    Create one dashboard per pipeline or gateway tier, grouping receiver accepted and refused counters, processor drop counters, exporter sent and failed counters, and queue size against queue capacity for each exporter. Use the metric names from your Collector version's internal telemetry documentation, and label panels by pipeline so a failing exporter can be traced to its source. The step is done when a panel shows live traffic for every receiver and exporter in the configuration, and an engineer can explain each panel's meaning without the build notes.

  5. Define alert rules for refused, failed and queued data

    Write alert rules for three conditions: sustained refused data at receivers, sustained failed sends at exporters, and queues trending toward capacity. Set thresholds from your own baseline traffic over a period you choose, not from example numbers, and route alerts to the on-call channel that owns the pipeline. Store the rules as code next to the Collector configuration. The step is complete when each rule loads in the rule engine with no evaluation errors and appears in the alert list with its owner.

  6. Test alerts by blocking an exporter

    In a non-production environment, deliberately make one exporter fail, for example by pointing it at an unreachable endpoint or blocking its network path, while telemetry continues to flow. Watch the failed-send and queue panels rise and confirm that the matching alert fires within the window you set and reaches the intended channel. Restore the endpoint and confirm the alert resolves. Record what you observed so the team knows the rule works before production depends on it.

  7. Confirm the alerts catch silent data loss

    Repeat the test with a receiver-side fault, such as sending a payload the receiver refuses, and check that the refused-data alert fires and that dropped counts match the volume your test sent. Document the gaps you find, such as conditions that produce loss without any alert, and assign each gap an owner for a follow-up change. The step is done when every type of loss exercised in testing either alerts or is recorded as an accepted gap with a named owner.

How monitoring differs for agents and gateways

In agent mode, a Collector runs alongside each service, host or node and forwards that workload's telemetry. Monitoring is spread across many small instances, so the main challenge is coverage: every agent must expose its internal metrics, be scraped, and be visible in an alert. A missing agent is easy to overlook because the rest of the fleet keeps reporting. Each agent usually has a narrow blast radius, but a configuration change pushed to all agents at once can affect the whole fleet quickly.

  • Fleet size: Agent counts track workload count, so scrape configuration and service discovery must follow nodes and pods as they come and go.
  • Scrape targets: Each agent's internal metrics endpoint is a separate target. Confirm that discovery catches agents on new hosts, not only those present at deployment.
  • Alert ownership: Application or platform teams often own their local agents, while a central team owns the backend. Agree in writing who receives a per-agent refused or failed alert.
  • Silent gaps: A crashed agent stops reporting its own metrics. Alert on a drop in the number of reporting agents, not only on error counters.
  • Rollout risk: Upgrades and configuration changes reach many hosts, so stage them and watch exporter failure counters on a canary group first.

Check that your discovery method and your alert routing both cover every agent deployment, including nodes added after the last configuration change.

Securing the Collector metrics endpoint and telemetry path

The Collector's internal metrics, health endpoints and exported telemetry describe your whole pipeline, so they can reveal topology, load and sometimes sensitive attributes. The cards below cover where that data is exposed, who can read it, how it travels and how the configuration itself is protected.

Keep the metrics endpoint off public interfaces

The Collector exposes internal metrics and health endpoints on a network address. Since v0.110.0, server components bind to localhost by default rather than 0.0.0.0, so a plain install is not reachable from other hosts. Check any override of the endpoint address in your configuration, and confirm with a scan from outside the pod or host that the port does not answer. If your scraper runs elsewhere, bind to a private interface and filter the port at the network layer.

Security best practices

Restrict which scrapers can read metrics

Anyone who can reach the metrics endpoint can read pipeline names, exporter endpoints and throughput counters. Limit scraping to your Prometheus or monitoring agent by source address, namespace policy or a network policy in Kubernetes. Ask the platform team to list every workload allowed to scrape, and review that list when monitoring infrastructure changes.

Authenticate and encrypt exported Collector telemetry

Collector self-telemetry sent to a backend crosses the network like any other data. Use TLS on exporters that send internal metrics, and where the receiving backend supports it, add an authenticator extension such as oauth2client so outgoing requests carry credentials. Confirm that the receiver authenticates clients, so an unknown sender cannot write fake pipeline health into your dashboards.

Redact sensitive attributes in internal telemetry

Self-monitoring pipelines can carry resource attributes, pipeline labels and sometimes span or log content that was routed through the Collector. Apply the redaction processor to remove attributes such as tokens, account identifiers or personal data before data leaves the Collector. Test the rules with the debug exporter on sample data, then confirm that the exported telemetry contains no values you would not store elsewhere.

Store Collector configuration securely

The Collector configuration often holds backend endpoints, credentials and receiver settings, so a leaked file reveals how your monitoring is wired. Keep the file in a secrets store or an encrypted Kubernetes secret, reference credentials through environment variables or secret mounts rather than inline values, and restrict read access to the operators who manage the pipeline. Review the file in version control to confirm that no literal secret was committed.

Collector configuration docs

Build only the components you need

A broad contrib build includes receivers, extensions and exporters that your pipeline never uses, and each one adds surface that must be patched and reviewed. Use the Collector Builder to produce a distribution with only the components in your configuration, and rebuild it when you change the pipeline. Ask your team to list the components in the final binary and compare that list with the configuration files in use.

Questions teams ask before setting up Collector monitoring

How much effort does monitoring the OpenTelemetry Collector take?

The effort depends mainly on how many Collector pipelines you run, which backend receives the Collector's own telemetry, and how many alerts you need. A single gateway with one exporter is a small job: scrape the Collector's internal metrics, chart the accepted, refused and failed counters, and set a few alerts. Each additional pipeline, receiver and exporter adds counters to watch and thresholds to tune. Alert design is often the largest share of the work, because alerts that fire on every brief spike get ignored, while alerts that miss a sustained drop leave silent data loss undetected. Ask any partner to size the work from your pipeline inventory, not from a generic template.

Can our own team set up Collector monitoring without outside help?

Many teams can, provided someone on the team already owns the Collector configuration and the metrics backend. The Collector exposes its own internal metrics, so the core steps are configuring a scrape target, confirming the metric names your version emits, building dashboards and writing alert rules. The harder parts are usually organizational: agreeing who is paged, deciding what counts as data loss for each pipeline, and testing that alerts fire when a receiver refuses data or an exporter queue fills. If no one on the team has run these checks before, an outside partner can plan the setup, build it in your environment and document it so your team can maintain it.

What do we need to provide for a Collector monitoring engagement?

The work needs read access to the Collector configuration files for every pipeline, along with the deployment manifests or Helm values that show how each Collector runs. You also need access to the metrics and alerting backend where Collector telemetry will land, and the ability to create dashboards and alert rules there. Ask for a written list of on-call rules: who receives which alerts, through which channel, and during which hours. Finally, provide a staging environment or a maintenance window where alert conditions can be tested without sending false pages to production responders.

How long does Collector monitoring take to set up?

The duration depends on your environment rather than on a fixed template. Timing is driven by the number of pipelines to cover, whether the Collector already exposes internal metrics that your backend scrapes, how many backends and tenants are involved, how many teams must approve alert routing, and whether a staging environment exists for testing. A team with one Collector deployment, an existing metrics stack and a clear on-call rota will finish far sooner than an organization with dozens of pipelines spread across clusters and business units. Ask for a timeline in the written scope, with each dependency listed as a separate milestone.

Does upgrading the Collector change its internal metric names?

It can. Collector releases ship frequently, with v0.161.0 on September 16, 2026, v0.162.0 on September 29 and v0.163.0 on October 16, 2026, so a team running a current release should expect to check its internal telemetry after each upgrade. Metric names, labels and component stability levels are documented per component, so review the release notes and component READMEs before upgrading. Dashboards and alert rules that reference specific metric names should be tested against a staging Collector first, and the monitoring configuration should be version-controlled so changes are traceable.

Which Collector metrics should alerts watch first?

Start with the counters that show data being lost or held back. Engineers usually watch accepted and refused counts on receivers, failed counts on exporters, and queue size against queue capacity. A rising refused count means data is being rejected before it enters the pipeline, while a growing exporter queue or rising failed count points to a backend that cannot keep up. Alert on sustained trends rather than single samples, and confirm exact metric names for your Collector version in its documentation before writing rules.

Where should the Collector's own telemetry be sent?

Send it to a system separate from the one that carries your application telemetry, when your architecture allows it. If the same pipeline both carries failing data and reports its own failure, an outage can hide itself. Confirm which backend you will use, how long it retains Collector metrics, and who can read them. Security teams should also confirm that Collector telemetry does not expose sensitive attributes, and that the Collector's own endpoints are reachable only from the networks that need them.

How DeployOpen scopes Collector monitoring work

DeployOpen plans, implements and documents self-hosted OpenTelemetry pipelines inside your own cloud accounts, data centers or air-gapped networks, and the Collector monitoring work described on this page is scoped in writing before any change is made to your pipelines. The written scope names which Collector instances are covered, which internal metrics are scraped, where those metrics are stored, which alerts are built, and who receives them. Pricing follows from that written scope, and DeployOpen does not publish a price list, so the practical step is to bring your Collector inventory (agents, gateways, and any Operator-managed deployments) and ask for a quote against that list. Ask the vendor-neutral question early: is the Collector's own telemetry going to the same backend as application data, or to a separate path that survives an outage of the main backend?

Once the monitoring work is scoped, you can also decide whether it needs ongoing help. Most engagements are fixed-scope, with deliverables and timelines agreed before work starts. Ongoing support, upgrades and continuous testing are available as retainers, which suit teams that change Collector configuration often, adopt new Collector releases on a regular cadence, or want someone to review alert firing and silent-loss signals over time. Confirm with DeployOpen what a retainer includes, how changes are requested, and how quickly they are handled, since those terms are set in the agreement and not assumed from this page.

DeployOpen prepares systems, controls and evidence for compliance assessments, including the records that show Collector monitoring is in place, such as configuration, alert definitions and test results. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments, so ask your auditor early which evidence they expect from your telemetry pipeline and confirm that the scoped deliverables cover it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.