[WIP] Add tags as labels to prometheus metrics #898

Open
proffalken wants to merge 1 commits from proffalken/feature/680_add_labels_to_prometheus_metrics into master
  1. 3
      server/prometheus.js

3
server/prometheus.js

@ -42,6 +42,9 @@ class Prometheus {
monitor_hostname: monitor.hostname,
monitor_port: monitor.port
};
for (var t in monitor.tags) {
this.monitorLabelValues[k] = monitor.tags[k];
}
}
update(heartbeat, tlsInfo) {

Loading…
Cancel
Save