nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.88k stars 1.53k forks source link

InfluxDB2 export doesn't process folders correctly - missing key #2327

Closed michal-b-kaminski closed 1 year ago

michal-b-kaminski commented 1 year ago

I have several folders configured for monitoring, but only the last one is uploaded by Glances to InfluxDB. It looks like the path column is not used as a tag.

To Reproduce

  1. Define more than one folder in [folders] section of glances.conf.
  2. Configure export to InfluxDB.
  3. Check data for folders measurement - there is only data for single path.

Expected behavior There should be data for all paths.

Desktop (please complete the following information):

nicolargo commented 1 year ago

Corrected on the develop branch, will be released in Glances 3.4.

nicolargo commented 1 year ago

Thanks for the issue report @michal-b-kaminski !

michal-b-kaminski commented 1 year ago

Seems to be working correctly, thank you!