← All notes

Process traces, metrics, and logs in the OpenTelemetry Collector pipeline

Answer: A processor can consume traces, metrics, or logs. The collector factory interface is how each processor type is created.

Configuration

You can provide one or more configurations using the --config option. Sources include a YAML file, a YAML string, an environment variable, and even an HTTPS document. Processors are named in the service pipeline between receivers and exporters.

| YAML file | env | |---|---| | YAML file | usual --config path | | env | configuration from an environment variable | | yaml string | inline YAML, with :: delimiting subpaths | | factory | creates the processor from that config |

Factory in the collector source

In processor.go, Traces is a processor that can consume traces. Settings passed into Create* include the component ID and the pipeline ID. Factory is the factory interface for processors, and implementations must use NewFactory rather than implementing that interface directly.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenTelemetry, Collector configuration; open-telemetry/opentelemetry-collector, processor.go. CC-BY-4.0; Apache-2.0. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenTelemetry, Collector configuration; open-telemetry/opentelemetry-collector, processor.go. CC-BY-4.0; Apache-2.0.

Cite this

Permanent ID: iil:note:te2n0015

iinventedlight. 2026. "Process traces, metrics, and logs in the OpenTelemetry Collector pipeline." iinventedlight Library, iil:note:te2n0015, version of 2026-11-20. https://iinventedlight.com/library/notes/otel-collector-processors/. License: CC-BY-4.0.

@misc{iil_note_te2n0015,
  author = {{iinventedlight}},
  title = {{Process traces, metrics, and logs in the OpenTelemetry Collector pipeline}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-20},
  url = {https://iinventedlight.com/library/notes/otel-collector-processors/},
  note = {Permanent ID iil:note:te2n0015. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/otel-collector-processors.md.