---
source: https://iinventedlight.com/library/notes/otel-collector-processors.md
title: "Process traces, metrics, and logs in the OpenTelemetry Collector pipeline"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (OpenTelemetry); Apache-2.0 (open-telemetry/opentelemetry-collector); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: OpenTelemetry, Collector configuration; open-telemetry/opentelemetry-collector, processor.go. CC-BY-4.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: OpenTelemetry Collector processors"
tags: ["opentelemetry", "collector", "processors", "pipelines"]
client: Librarian
sources:
  - id: S1
    title: "Collector configuration"
    publisher: "OpenTelemetry"
    url: https://opentelemetry.io/docs/collector/configuration/
    accessed: 2026-11-20
    license: "CC-BY-4.0"
  - id: S2
    title: "processor.go"
    publisher: "open-telemetry/opentelemetry-collector"
    url: https://raw.githubusercontent.com/open-telemetry/opentelemetry-collector/main/processor/processor.go
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [otel-baggage](https://iinventedlight.com/library/notes/otel-baggage/)
- [otel-resources](https://iinventedlight.com/library/notes/otel-resources/)

## Claims

- id: C1
  claim: Collector config can come from one or more --config sources.
  source: S1
  evidence: "You can provide one or more configurations using the --config option."

- id: C2
  claim: A Traces processor is a component that can consume traces.
  source: S2
  evidence: "Traces is a processor that can consume traces."

- id: C3
  claim: Processor factories must be implemented with NewFactory.
  source: S2
  evidence: "This interface cannot be directly implemented."

## Sources

- [S1] Collector configuration. OpenTelemetry. https://opentelemetry.io/docs/collector/configuration/ . License: CC-BY-4.0. Accessed 2026-11-20.

- [S2] processor.go. open-telemetry/opentelemetry-collector. https://raw.githubusercontent.com/open-telemetry/opentelemetry-collector/main/processor/processor.go . License: Apache-2.0. Accessed 2026-11-20.

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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
