You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wanguard_anomalies_active | gauge | Active anomalies at the moment | anomaly, anomaly_id, bits, bits_s, duration, latest_value, packets, pkts_s, prefix, sensor_interface_name
79
+
wanguard_anomaly_latest_value | gauge | Latest measurement value for active anomaly | anomaly, anomaly_id, prefix, sensor_interface_name
79
80
wanguard_anomalies_finished | gauge | Number of finished anomalies |
AnomalyActive: prometheus.NewDesc(prefix+"active", "Active anomalies at the moment", []string{"prefix", "anomaly", "anomaly_id", "duration", "pkts_s", "packets", "bits_s", "bits", "latest_value", "sensor_interface_name"}, nil),
41
-
AnomaliesFinished: prometheus.NewDesc(prefix+"finished", "Number of finished anomalies", nil, nil),
40
+
wgClient: wgclient,
41
+
AnomalyActive: prometheus.NewDesc(prefix+"active", "Active anomalies at the moment", []string{"prefix", "anomaly", "anomaly_id", "duration", "pkts_s", "packets", "bits_s", "bits", "latest_value", "sensor_interface_name"}, nil),
42
+
AnomalyLatestValue: prometheus.NewDesc("wanguard_anomaly_latest_value", "Latest measurement value for active anomaly", []string{"prefix", "anomaly", "anomaly_id", "sensor_interface_name"}, nil),
43
+
AnomaliesFinished: prometheus.NewDesc(prefix+"finished", "Number of finished anomalies", nil, nil),
0 commit comments