jaegertracing/jaeger

[v2] Auto-generate configuration documentation

Open

#6,186 opened on 2024年11月9日

GitHub で見る
 (11 comments) (0 reactions) (0 assignees)Go (18,974 stars) (2,326 forks)batch import
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:

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)

コントリビューターガイド