go-graphite / graphite-clickhouse

Graphite cluster backend with ClickHouse support
MIT License
213 stars 52 forks source link

feat(config): add -exact-config command line argument #262

Closed mchrome closed 9 months ago

mchrome commented 9 months ago

This PR adds the "-exact-config" command line argument which ensures that all parameters in a config file are contained inside the corresponding struct. If you run e2e tests with this, they are going to fail since "max-metrics-in-render-answer" does not exist inside the "Common" struct.