Merge pull request #3239 from madnight/master

Fix: prometheus monitor_status metric has 4 values
This commit is contained in:
Louis Lam
2023-06-13 23:09:29 +08:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ const monitorResponseTime = new PrometheusClient.Gauge({
const monitorStatus = new PrometheusClient.Gauge({
name: "monitor_status",
help: "Monitor Status (1 = UP, 0= DOWN)",
help: "Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)",
labelNames: commonLabels
});