refactor(config): extend supported_configurations.json schema to v3#4654
refactor(config): extend supported_configurations.json schema to v3#4654
Conversation
Add `config` blocks to 37 entries in supported_configurations.json that correspond to fields on internal/config.Config. Each block describes how the env var maps to a struct field (field name, Go type, getter/setter, provider method, validator, custom flags). Add configBlock struct to configinverter so the new JSON fields are parsed. No code generation changes yet — this is the schema foundation for the upcoming config code generator.
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 3abff78 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
BenchmarksBenchmark execution time: 2026-04-10 15:53:07 Comparing candidate commit 3abff78 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 215 metrics, 9 unstable metrics.
|
Summary
supported_configurations.jsonschema to version"3"and addsconfigblocks to 37 entries that correspond to fields oninternal/config.Configconfigblock describes how an env var maps to a struct field: field name, Go type, getter/setter names, provider method, validator, and custom flags (custom_init,custom_getter,custom_setter,no_telemetry)configBlockstruct toscripts/configinverterso the new JSON fields are parsed — no code generation changes yetTest plan
generatecommand produces identical output (no diff on.gen.go)checkcommand passes (262 keys in sync)configtelemetryandproviderpackage tests passconfiginverterbuilds cleanly