summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2017-12-26 17:04:57 +0100
committernicolargo <nicolas@nicolargo.com>2017-12-26 17:04:57 +0100
commit54b0c4e277c14454344e417163ae08aa37302ad8 (patch)
treefc3a70f9d52dc900f9ff667a636793f84c53d104 /conf
parent3bad3b39b6ed806e434dfda43256a81a1d6b4219 (diff)
Add dynamic fields in all sections of the configuration file #1204
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index ea671298..61ff58ed 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -312,8 +312,17 @@ port=8086
user=root
password=root
db=glances
+# Prefix will be added for all measurement name
+# Ex: prefix=foo
+# => foo.cpu
+# => foo.mem
+# You can also use dynamic values
+#prefix=`hostname`
prefix=localhost
+# Tags will be added for all measurements
#tags=foo:bar,spam:eggs
+# You can also use dynamic values
+#tags=system:`uname -s`
[cassandra]
# Configuration for the --export-cassandra option