mrlesmithjr / ansible-consul

Ansible role to install/configure Consul
MIT License
8 stars 5 forks source link

Add telemetry config support #36

Closed jardleex closed 7 years ago

jardleex commented 7 years ago

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

jardleex commented 7 years ago

Argh, never mind. I just figured it out.

Request will follow asap.

Sorry for annoying you.