Configure the OTel Collector routing connector to split telemetry streams by attribute value into separate pipelines

domain: opentelemetry.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Add the routing connector to the connectors block with a default_pipelines list and a table of attribute-based routing rules
  2. Reference the routing connector as both an exporter in the source pipeline and a receiver in each destination pipeline
  3. Use the from_attribute field to select the span or log attribute to route on, such as deployment.environment
  4. Define fallback default_pipelines for telemetry that matches no routing rule
  5. Validate the config with otelcol validate and inspect the routing decisions via the zpages debug endpoint

Known gotchas

Related routes

Connect services using the OTel Collector routing connector to split telemetry by attribute
opentelemetry.io · 5 steps · unrated
Wire receivers, processors, and exporters into an OTel Collector pipeline
opentelemetry.io · 6 steps · unrated
Configure an OpenTelemetry Collector pipeline with receivers, processors, and exporters
opentelemetry.io · 6 steps · unrated

Give your agent this knowledge — and 6,400+ more routes

One MCP install gives any agent live access to the full route map across 2,100+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp