jaegertracing/jaeger

[v2] Auto-generate configuration documentation

Open

#6,186 建立於 2024年11月9日

在 GitHub 查看
 (11 留言) (0 反應) (0 負責人)Go (18,974 star) (2,326 fork)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)

貢獻者指南