jaegertracing/jaeger

[v2] Auto-generate configuration documentation

Open

Aperta il 9 nov 2024

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)Go (18.974 star) (2326 fork)batch import
area/otelgood first issuehelp wantedv2

Descrizione

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:

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)

Guida contributor