I'm currently experimenting with Consul + Prometheus + Grafana. Therefor I need to configure the telemetry options in config.json and passing in a statsd address.
Right now I'm struggling at adding this telemetry dictionary into the json building construct of templates/etc/consul.d/config.json.j2.
As you used the in-template building json block in other roles too, may you give me a hint how to app/update a sub dict inside config_json?
I will then prepare a merge request as usual.
Hi @mrlesmithjr,
I'm currently experimenting with Consul + Prometheus + Grafana. Therefor I need to configure the telemetry options in config.json and passing in a statsd address.
Right now I'm struggling at adding this telemetry dictionary into the json building construct of
templates/etc/consul.d/config.json.j2
. As you used the in-template building json block in other roles too, may you give me a hint how to app/update a sub dict inside config_json? I will then prepare a merge request as usual.Best regards
Jard