OTEL Validator is a tool for validating your otel-collector configuration.
It supports autocomplete of fields, inline documentation, and validation of the your otel configuration.
Intellisense for all components and properties
Documentation for supported configurations
Real time validation of fields
Open up an otel-config. If you don't have one handy, feel free to copy and paste the following example into a new file: "otel-config.yaml".
NOTE: currently, OTEL validator will automatically check all
yaml files that match the prefix
extensions: [pprof, zpages, health_check]
exporters: [logging, zipkin, jaeger]
exporters: [logging, prometheus]
- doesn't currently support connectors
- all components can be null - we currently don't detect whether a property is required or optional
durations are currently tread as strings. this means values like
5m_foobar will not be flagged
This extension makes use of the output of cfgmetadatagen which extracts configuration metadata from various collector components.