adding metrics_path to snippet

Adding a change to the prometheus config snippet, it should contain:

metrics_path: '/metrics'

Putting the target url with the "/metrics" in it will prevent prometheus from loading.
SiskoUrso 2023-04-16 22:03:19 -05:00 committed by GitHub
parent 3c943bca5a
commit a1bdb7802e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

@ -20,6 +20,7 @@ Put the following into your Prometheus config:
- job_name: 'uptime'
scrape_interval: 30s
scheme: http
metrics_path: '/metrics'
static_configs:
- targets: ['uptime-kuma.url']
basic_auth: # Only needed if authentication is enabled (default)