Loading...
Loading...
OpenTelemetry Collector component configuration. Use when authoring, reviewing, or debugging Collector YAML for a specific receiver, processor, exporter, connector, or extension — config keys, defaults, validation rules, signal support, stability levels, and component-level gotchas. Triggers on Collector component questions including receivers, processors, exporters, connectors, extensions, component renames, signal support, and pipeline wiring.
npx skill4agent add ollygarden/opentelemetry-agent-skills otel-collectorotel-ottlotel-declarative-configtypelog_dedupintervalotlpcomponents/<type>/README.mdconfiguration.mdquirks.mdprocessor/<name>/receiver/<name>/exporter/<name>/connector/<name>/extension/<name>/type/nametelemetrygenotel-telemetrygendebugfilecomponents/<type>/FileREADME.md| Type | File | Kind | Signals | Stability | Summary |
|---|---|---|---|---|---|
| | processor | logs | Alpha | Deduplicates identical log records over a time window; emits one aggregated log with a count. Renamed from |
| | processor | metrics | Alpha | Buffers cumulative monotonic metrics (and optionally gauges/summaries) and emits the latest value once per interval. Delta and non-monotonic sums pass through unchanged. |
| | processor | traces | Beta | Buffers whole traces and makes a single keep/drop decision after a wait window via policies. Requires a |
| | processor | logs | Alpha | Clusters log bodies and annotates each record with a template. v0.158 replaced |
| | processor | traces, logs, metrics | Beta (traces), Alpha (logs/metrics) | Allow/block-list masking or removal of sensitive attribute keys and values, with hashing and URL/DB sanitizers. |
| | processor | traces, metrics, logs, profiles | Alpha (traces/metrics/logs), Development (profiles) | Drops spans, metric data points, log records, and profiles that match OTTL conditions (or legacy metric-name / severity filters). The most direct telemetry-volume lever. |
| | processor | traces, metrics, logs, profiles | Beta (traces/metrics/logs), Development (profiles) | Applies OTTL statements to mutate spans, metric data points, log records, and profiles in place (rename/redact/convert/aggregate attributes). The OTTL language itself lives in the |
| | processor | traces, logs | Beta (traces), Alpha (logs) | Head sampling — deterministically keeps a configured percentage of traces/logs by hashing the trace ID (or an attribute). The cheaper, stateless counterpart to |
| | processor | traces, metrics, logs | Beta | Modifies span/log/datapoint attributes via an ordered action list (insert/update/upsert/delete/hash/extract/convert), scoped by include/exclude matching. |
| | processor | traces, metrics, logs, profiles | Beta (traces/metrics/logs), Development (profiles) | Modifies the resource attributes of telemetry via the same action grammar as |
| | processor | traces, metrics, logs, profiles | Beta (traces/metrics/logs), Development (profiles) | Enriches telemetry with Kubernetes pod/namespace/node/workload metadata, associating each record to a pod by IP or resource attribute. Renamed from |
| | connector | traces, metrics, logs | Alpha | Routes same-signal telemetry to different pipelines by OTTL |
| | processor | traces, metrics, logs, profiles | Beta (traces/metrics/logs), Alpha (profiles) | Safety valve against OOM: refuses data with backpressure when Go heap exceeds a soft/hard limit. Its receiver-middleware extension reached Beta in v0.158 but is absent from stock distributions; the bundled processor remains the standard form. |
| | exporter | traces, logs, metrics | Beta (traces/logs), Development (metrics) | Distributes telemetry across downstream Collectors via a consistent-hash ring keyed on trace ID / |
| | receiver | traces, metrics, logs, profiles | Stable (traces/metrics/logs), Alpha (profiles) | The canonical OTLP ingress over gRPC ( |
| | exporter | traces, metrics, logs, profiles | Stable (traces/metrics/logs), Alpha (profiles) | Sends OTLP over gRPC to a downstream endpoint; gzip by default. Built-in |
| | receiver | logs | Beta | Tails log files (glob |
| | processor | traces, metrics, logs, profiles | Beta (traces/metrics/logs), Development (profiles) | Auto-detects resource attributes via an ordered |
| | extension | — (not pipeline-scoped) | Beta | Persists component state to local disk (bbolt) so it survives a Collector restart: receiver read offsets ( |
| | receiver | metrics | Beta | Scrapes Prometheus-format HTTP endpoints and converts them to OTLP metrics, embedding |
| | exporter | metrics | Beta | Exposes pipeline metrics in Prometheus exposition format on a |
| | exporter | metrics | Beta | Pushes OTLP metrics as Prometheus Remote Write. v0.158 added |
type/nameprocessors:
log_dedup/health-checks:
interval: 30s
conditions:
- 'log.attributes["log.type"] == "health_check"'
log_dedup/access-logs:
interval: 10s
service:
pipelines:
logs/health:
processors: [log_dedup/health-checks]
logs/access:
processors: [log_dedup/access-logs]| Level | Use in |
|---|---|
| Development | Tests and prototypes only — breaking changes expected. |
| Alpha | Limited, non-critical workloads — config keys can still change. |
| Beta | Production viable — breaking changes rare. |
| Stable | Production — backward compatibility guaranteed. |
redactionlogdeduplog_deduphostmetricshost_metricsspanmetricsspan_metricsservicegraphservice_graphk8sattributesk8s_attributes_log_checkmemory_limiterlog_deduptransformtail_samplingotlp_grpcsending_queue.batchbatchtelemetrygencontribk8sotelcol-contrib --config <file>.yamltelemetrygenotel-telemetrygendebugfilememory_limitercomponents/<type>/SKILL.mdREADME.mdtypeconfiguration.md- [Configuration](configuration.md) — config keys, defaults, validationconfiguration.mdverification.mdtelemetrygendebugfileotel-telemetrygentelemetrygentelemetrygentransformadvanced.mdquirks.mdpolicies.mdcomponents/log_dedup/components/interval/Filecomponents/<type>/README.md