diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-03-07 21:36:27 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-03-07 21:36:27 +0100 |
commit | d6bdfbed5fc8b35cb10d6092625c1d1cd78d30d3 (patch) | |
tree | 09ce874fc408ecfde850026847e75fa22ea171f5 | |
parent | 255e3fd2d74d80903beea17217f57b32171fbe99 (diff) | |
download | infrastructure-d6bdfbed5fc8b35cb10d6092625c1d1cd78d30d3.tar.gz infrastructure-d6bdfbed5fc8b35cb10d6092625c1d1cd78d30d3.zip |
Expose prometheus metrics on Consul
-rw-r--r-- | os/config/roles/consul/templates/consul.json.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/config/roles/consul/templates/consul.json.j2 b/os/config/roles/consul/templates/consul.json.j2 index a55d351..6172cc4 100644 --- a/os/config/roles/consul/templates/consul.json.j2 +++ b/os/config/roles/consul/templates/consul.json.j2 @@ -27,5 +27,9 @@ "raft_multiplier": 10, "rpc_hold_timeout": "30s", "leave_drain_time": "30s" + }, + "telemetry": { + "disable_hostname": true, + "prometheus_retention_time": "2h" } } |