Prove data is flowing with the debug exporter
Nothing is arriving in the backend and you cannot tell which side is at fault. Print what the collector receives, and you know.
Also searched as: log verbosity, logging exporter, verbosity, troubleshoot
OpenTelemetry Collector
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
exporters:
debug:
verbosity: detailed
sampling_initial: 5
sampling_thereafter: 200
service:
pipelines:
logs:
receivers: [otlp]
exporters: [debug]
LinkMesh
LinkMesh has no built-in template for this job. Add it as a custom destination in raw mode, with debug as the component type and this body - the same lines as under debug in the collector config:
verbosity: detailed
sampling_initial: 5
sampling_thereafter: 200
How custom components are validated and rolled out: create a custom destination.
Download config.yamlValidated with otelcol-contrib v0.165.0 on 2026-11-30
Complete config files, each checked with the collector's own validate command (otelcol-contrib v0.165.0).
The gotcha
The logging exporter that older blog posts still show is deprecated in favour of debug. Keep the sampling settings: detailed verbosity on a busy pipeline floods the collector log otherwise.
Manage this across a fleet
LinkMesh manages collector configuration across a fleet from one self-hosted control plane, so a change like this is made once rather than host by host. The first 25 Collectors are free after a no-card registration in the OpenSight Customer Portal (5 without one).
Doing this in LinkMesh: Capture live samples
Related snippets
- Agents to a gateway tier, load-balanced by trace IDAgents route every span of a trace to the same gateway, so tail sampling on the gateways sees complete traces.
- Send to Azure Monitor (Application Insights)Logs, metrics and traces to Application Insights, authenticated by the connection string from the environment.
- Store telemetry in ClickHouseLogs, traces and metrics into ClickHouse tables the exporter creates for you, expired by TTL.
- Send to DatadogLogs, metrics and traces to Datadog, with the API key from the environment and a queue in front of the exporter.