diff --git a/cookbooks/prometheus/files/etc/consul.d/service-prometheus.json b/cookbooks/prometheus/files/etc/consul.d/service-prometheus.json index 5bd41af..f80f227 100644 --- a/cookbooks/prometheus/files/etc/consul.d/service-prometheus.json +++ b/cookbooks/prometheus/files/etc/consul.d/service-prometheus.json @@ -1,6 +1,13 @@ { "service": { "name": "prometheus", - "port": 9100 + "port": 9090, + "check":{ + "http": "http://localhost:9090/", + "tls_skip_verify": false, + "interval": "60s", + "timeout": "1s", + "success_before_passing": 3 + } } }