itamae/cookbooks/prometheus/files/etc/consul.d/service-prometheus.json

14 lines
241 B
JSON

{
"service": {
"name": "prometheus",
"port": 9090,
"check":{
"http": "http://localhost:9090/",
"tls_skip_verify": false,
"interval": "60s",
"timeout": "1s",
"success_before_passing": 3
}
}
}