jaegertracing/jaeger

[v2] Auto-generate configuration documentation

Open

#6.186 aberto em 9 de nov. de 2024

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)Go (2.326 forks)batch import
area/otelgood first issuehelp wantedv2

Métricas do repositório

Stars
 (18.974 stars)
Métricas de merge de PR
 (Mesclagem média 4d 15h) (89 fundiu PRs em 30d)

Description

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)

Guia do colaborador