summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2018-05-06 22:15:55 +0200
committernicolargo <nicolas@nicolargo.com>2018-05-06 22:15:55 +0200
commit2c6be49e13560d7494ddf0f6a25b088342b5e704 (patch)
tree2b7fb0de13013041706b4962c9dba2489a7f6115 /conf
parent8b6b0d3bd0f04bf58a254f8629c6580e8e236963 (diff)
Add labels support to Promotheus exporter #1255
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 21cbf027..65057946 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -444,6 +444,10 @@ prefix=G
host=localhost
port=9091
prefix=glances
+# Labels will be added for all measurements
+#labels=foo:bar,spam:eggs
+# You can also use dynamic values
+#labels=system:`uname -s`
[restful]
# Configuration for the --export RESTful option