mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 22:49:21 +08:00
Merge pull request #41 from SiskoUrso/patch-1
adding metrics_path to snippet
@@ -20,6 +20,7 @@ Put the following into your Prometheus config:
|
|||||||
- job_name: 'uptime'
|
- job_name: 'uptime'
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
scheme: http
|
scheme: http
|
||||||
|
metrics_path: '/metrics'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['uptime-kuma.url']
|
- targets: ['uptime-kuma.url']
|
||||||
basic_auth: # Only needed if authentication is enabled (default)
|
basic_auth: # Only needed if authentication is enabled (default)
|
||||||
|
Reference in New Issue
Block a user