v4.5.8Desktop
Glances 4.5.8
Changed 2
- WebUI container table can be sorted by status
- Processlist only builds curses rows for the processes that fit on screen, improving performance
Fixed 20
- Stdout CSV data blocks use each list item's own fields instead of the first list item's fields
- Stdout raw selector with a dotted item key (network.eth0.100.bytes_recv) no longer raises UnboundLocalError
- A second configured FolderList no longer appends its entries to the first instance
- JSON export with --stop-after no longer leaves an empty file; the last sample is kept on shutdown
- DuckDB export no longer converts the string 'False' into TRUE
- InfluxDB export no longer truncates dotted list item identifiers, so VLAN interfaces keep their tags
- IP plugin no longer raises AttributeError in the main thread when the public IP response is not an object
- CSV export no longer shifts rows under another device's column when the field order changes
- Exporters no longer mutate the live plugin statistics when merging limits
- Elasticsearch export stores every plugin instead of only the first, fixing the mapping type rejected by ES 6/7/8+
- An optional exporter key missing from the config no longer overwrites the module default with None
- MQTT export no longer crashes at startup when port or callback_api_version is omitted
- Uptime export now reports the SNMP uptime instead of the local uptime
- Cloud detection no longer reports a platform whose metadata API returns nothing (OpenStack was reported on Amazon EC2)
- IRQ plugin divides the interrupt count by the refresh time, so Rate/s is no longer multiplied by the refresh time
- Programs no longer raise KeyError when a process stat is listed in [processlist] disable_stats
- WebUI no longer throws on a restarting container whose cpu/mem stats are empty
- WebUI revalidates static files so the browser no longer heuristically caches glances.js
- Processes io_old no longer keeps one entry per pid ever seen, fixing a slow memory leak on hosts spawning short-lived processes
- Smart no longer crashes the server at startup when smartctl is missing with pySMART >= 1.4
From Glances
Bugs corrected:
- Stdout: CSV data blocks use the first list item's fields instead of each item's own #3746
- Stdout: raw selector with a dotted item key (network.eth0.100.bytes_recv) raises UnboundLocalError #3748
- Folders: a second configured FolderList appends its entries to the first instance #3750
- JSON export: --stop-after leaves an empty file, the last sample is lost on shutdown #3752
- DuckDB export turns the string 'False' into TRUE #3754
- InfluxDB export truncates dotted list item identifiers (VLAN interfaces lose their tags) #3756
- IP plugin: a non-object public IP response raises AttributeError in the main thread #3758
- CSV export: rows are shifted under another device's column when the field order changes #3760
- Export: exporters mutate the live plugin statistics when merging limits #3766
- Elasticsearch export: a mapping type per plugin is rejected by ES 6/7/8+, only the first plugin is stored #3780
- Exports: an optional key missing from the config overwrote the module default with None #3781
- MQTT export: crash at startup when port or callback_api_version is omitted #3777
- Uptime: export the SNMP uptime instead of the local one #3779
- Cloud: do not report a platform whose metadata API returns nothing (OpenStack reported on Amazon EC2) #3778
- IRQ: divide the interrupt count by the refresh time (Rate/s was multiplied by the refresh time) #3771
- Programs: KeyError when a process stat is listed in [processlist] disable_stats #3776
- Containers: WebUI throws on a restarting container whose cpu/mem stats are empty #3768
- WebUI: the browser caches glances.js heuristically, revalidate the static files #3763
- Processes: io_old keeps one entry per pid ever seen (slow memory leak on hosts spawning short-lived processes)
- Smart: a missing smartctl (pySMART >= 1.4) crashes the server at startup
Enhancements:
- WebUI: make the container table sortable by status #3763
- Processlist: only build curses rows for the processes that fit on screen (performance) #3762
Continuous integration and documentation:
- Mark regression test assertions for Bandit
Thanks to all the contributors for this version: Luis Figueroa, Param Tanna, Iain, Juice-de-Orange, xu91102, Artem Lytkin and Hassan Rady.