area/otelgood first issuehelp wantedv2
描述
We want to employ a schema-first approach to configuration:
- define a schema for configuration structures first
- use code generator to create types in Go
- automatically generate documentation from the schema
(30-Jan-2026) The OTEL Collector is also moving in this direction, with the first phase available where Go structs can be parsed to generate schema in YAML (https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/45732)
References:
- Print active configuration (unresolved: Print final configuration OTEL #5223)
- https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/27003
- Config documentation
- https://github.com/nimbushq/otel-validator
Tasks:
- Try running the schemagen script on some of Jaeger's internal collector extensions to see if it can generate sensible schemas.
- Auto-generate documentation from those schemas (follow OTEL example)