Skip to content

All Rules

The OpenTelemetry Collector lexicon provides 27 rules: 2 lint rules and 25 post-synth checks.

IDSeverityCategoryDescription
OTEL001errorcorrectnessa component id or instance name the collector can’t parse.
OTEL002errorsecuritya credential written as a literal in a component’s config.

Post-synth checks validate the serialized output after the build pipeline completes.

IDDescription
OTEL101A pipeline uses a receiver, processor or exporter that is not declared
OTEL102A pipeline has no receivers or no exporters
OTEL103A declared component is never used
OTEL104service.extensions enables an extension that is not declared
OTEL105memory_limiter is not the first processor in a pipeline
OTEL106A pipeline id or component reference is not valid collector syntax
OTEL107A component’s config breaks its definition’s rules
OTEL108Two components or two pipelines declare the same id
OTEL109A custom component has no schema pin
OTEL112A connector joins pipelines whose signals it does not convert
OTEL113Pipelines form a cycle through connectors
OTEL114A connector id is also declared as a receiver or exporter
OTEL115A routing connector routes to a pipeline that does not receive from it
OTEL116A connector splits metrics by a high-cardinality GenAI attribute
OTEL117Two components the collector starts listen on the same address
OTEL118A pipeline processor can remove or replace a resource attribute chant’s telemetry attribution stamps
OTEL119A collector config sets a field deprecated at or before the pinned release
OTEL120A component in the collector config holds a literal credential
OTEL121An exporter sends a credential over plaintext
OTEL122zpages or pprof listens on a non-loopback address
OTEL123A debug exporter at verbosity detailed shares a pipeline with a real exporter
OTEL124A remote exporter has its sending queue or retries turned off
OTEL125A pipeline sends to a remote otlp or otlphttp exporter without batching
OTEL126k8sattributes extracts a metadata field it does not support
OTEL127resourcedetection lists a detector that does not exist