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)

贡献者指南