mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-19 07:44:02 +02:00
Merge branch 'master' into master
This commit is contained in:
commit
8e2de94899
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ const PrometheusClient = require("prom-client");
|
||||||
const { log } = require("../src/util");
|
const { log } = require("../src/util");
|
||||||
|
|
||||||
const commonLabels = [
|
const commonLabels = [
|
||||||
|
"monitor_id",
|
||||||
"monitor_name",
|
"monitor_name",
|
||||||
"monitor_type",
|
"monitor_type",
|
||||||
"monitor_url",
|
"monitor_url",
|
||||||
|
@ -40,6 +41,7 @@ class Prometheus {
|
||||||
*/
|
*/
|
||||||
constructor(monitor) {
|
constructor(monitor) {
|
||||||
this.monitorLabelValues = {
|
this.monitorLabelValues = {
|
||||||
|
monitor_id: monitor.id,
|
||||||
monitor_name: monitor.name,
|
monitor_name: monitor.name,
|
||||||
monitor_type: monitor.type,
|
monitor_type: monitor.type,
|
||||||
monitor_url: monitor.url,
|
monitor_url: monitor.url,
|
||||||
|
|
Loading…
Add table
Reference in a new issue