mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-13 10:07:36 +03:00
Update InfluxDB doc: use tsm1 engine (issue #883)
This commit is contained in:
parent
a902ddddd9
commit
d906873fda
@ -15,6 +15,7 @@ following:
|
||||
user=root
|
||||
password=root
|
||||
db=glances
|
||||
tags=foo:bar,spam:eggs
|
||||
|
||||
and run Glances with:
|
||||
|
||||
@ -22,18 +23,9 @@ and run Glances with:
|
||||
|
||||
$ glances --export-influxdb
|
||||
|
||||
InfluxDB 0.9 or higher also supports an optional ``tags`` configuration
|
||||
parameter specified as comma separated ``key:value`` pairs. For example:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[influxdb]
|
||||
host=localhost
|
||||
port=8086
|
||||
user=root
|
||||
password=root
|
||||
db=glances
|
||||
tags=foo:bar,spam:eggs
|
||||
Glances generates a lot of column (for example if you have many running Docker
|
||||
containers). You should use the *tsm1* engine in the InfluxDB configuration
|
||||
file (no limit on column number).
|
||||
|
||||
Grafana
|
||||
-------
|
||||
|
Loading…
Reference in New Issue
Block a user