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
# 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 exportersFixes
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.
Related reading
- 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.