CICD-356 · OpenTelemetry Collector validation
Encyclopedia · Observability and SRE pipelines · All snippets
Previous · CICD-355 · Next · CICD-357
1. Where it fits
- Placement CI config validation.
- Prerequisites staging metrics stack, provisioned endpoints and read-only CI identity except explicitly approved writes.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
otelcol-contrib validate --config=monitoring/otel-collector.yaml3. How it works
The selected collector distribution parses the configuration and checks whether referenced component types are available.
4. Verify the result
Match the deployed distribution and supported components. Validate before submitting the configuration PR.
Validation syntax-validated (Bash parse). Status definitions.