Skip to content

Troubleshooting guide

OpenTelemetry Collector troubleshooting guide

When telemetry goes missing, the Collector can tell you where. Its own metrics show what came in, what went out and what was dropped.

3 min read10 sectionsUpdated

On this page

Key points

  • Follow the data: received, processed, exported.
  • The debug exporter proves data arrived.
  • memory_limiter belongs first in the processors.
  • A wrong protocol or port is the top setup bug.

How the pipeline works

Data arrives at a receiver, passes through processors in order, and leaves through exporters. A component can be configured but left out of a pipeline, in which case it does nothing at all. Most "missing data" problems are resolved by checking each stage in turn.

Common causes

  • SDK sending to the wrong port: 4317 is gRPC, and 4318 is HTTP.
  • A component not listed in service.pipelines.
  • Exporter authentication or endpoint errors.
  • Queue overflow when the backend is slow.
  • Sampling dropping more than you expected.
  • Memory limits causing refusals.

Diagnose it

Validate the config, look at the logs, then read its internal metrics.

bash
# Validate configuration
otelcol validate --config=config.yaml

# Accepted, refused, sent and failed counts (default port 8888)
curl -s localhost:8888/metrics | grep -E 'otelcol_(receiver_accepted|receiver_refused|exporter_sent|exporter_send_failed)_spans'

# Queue fullness
curl -s localhost:8888/metrics | grep -E 'exporter_queue_(size|capacity)'

# Add to config, to see incoming data in the logs:
#   exporters: { debug: { verbosity: detailed } }
#   and include "debug" in the pipeline's exporters

Fixes

Match the endpoint with the protocol: http://collector:4318 for OTLP/HTTP. Add every component to a pipeline. Put memory_limiter first and batch after it. Increase sending_queue size for short backend outages, and enable retry_on_failure. Bind receivers to 0.0.0.0:4317 when other containers must reach them, as recent versions default to localhost.

Where the numbers disagree

Compare accepted with sent. If accepted is zero, data never arrived, so the problem is on the SDK side: check the endpoint, or look for an error in the SDK's own logs. If accepted is healthy and sent is zero, the fault is the exporter or a filter. If refused grows, the memory limiter is shedding load. If send failures increase, read the exporter's log message for the HTTP status. An attributes or filter processor can drop data intentionally, so review any rule before assuming data was lost.

Catch it automatically

Scrape the Collector's own metrics and alert on send failures and queue saturation, because a broken telemetry pipeline tells no one by itself. See Collector best practices.

Frequently asked questions

Which ports does OTLP use?

4317 for gRPC and 4318 for HTTP.

Why does the Collector use so much memory?

Large batches and queues. Use the memory_limiter processor.

Do I need a Collector at all?

Not always. It is valuable for batching, filtering and multiple destinations.

  • What is OTLP?: OTLP explained: the OpenTelemetry protocol for traces, metrics and logs, gRPC vs HTTP, protobuf vs JSON, standard endpoints, ports and the exporter settings.
  • OpenTelemetry for Java: the agent, step by step: Instrument any Java application with the OpenTelemetry Java agent: no code changes, environment configuration, Docker and Kubernetes setup and troubleshooting.
  • OpenTelemetry: Send traces and metrics with standard OpenTelemetry SDKs or a Collector using one endpoint and an API key. No proprietary agent and no lock-in.
  • What is a telemetry pipeline?: Telemetry pipelines explained: collecting, processing and routing logs, metrics and traces, redacting sensitive data, cutting volume.
  • OpenTelemetry backends compared: Where to send OpenTelemetry data in 2026: open-source and commercial backends compared on OTLP support, views, cost and hosting, with criteria for choosing one.
  • What is a span in tracing?: What a span is in distributed tracing: its fields, parent and child spans, span kinds, attributes and status, with an annotated example you can read.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.