mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-31 00:36:16 +00:00
Merge pull request #3239 from madnight/master
Fix: prometheus monitor_status metric has 4 values
This commit is contained in:
commit
2b46693995
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const monitorResponseTime = new PrometheusClient.Gauge({
|
||||||
|
|
||||||
const monitorStatus = new PrometheusClient.Gauge({
|
const monitorStatus = new PrometheusClient.Gauge({
|
||||||
name: "monitor_status",
|
name: "monitor_status",
|
||||||
help: "Monitor Status (1 = UP, 0= DOWN)",
|
help: "Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)",
|
||||||
labelNames: commonLabels
|
labelNames: commonLabels
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue