Skip to content

Releases: nicolargo/glances

Glances 3.2.2

24 Jul 17:36
Compare
Choose a tag to compare

===============
Version 3.2.2

Bugs corrected:

* [3.2.0/3.2.1] keybinding not working anymore #1904
* InfluxDB/InfluxDB2 Export object has no attribute hostname #1899

Documentation: The "make docs" generate RestFull/API documentation file.

===============
Version 3.2.1

Bugs corrected:

* Glances 3.2.0 and influxdb export - Missing network data bug #1893

Enhancement requests:

* Security audit - B411 enhancement (Monkey patch XML RPC Lib) #1025
* Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862

===============
Version 3.2.0

This release is a major version (but minor number because the API did not change). It focus on
CPU consumption. I use Flame profiling https://github.com/nicolargo/glances/wiki/Glances-FlameGraph_
and code optimization to reduce CPU consumption from 20% to 50% depending on your system.

Enhancement and development requests:

* Improve CPU consumption
    - Make the refresh rate configurable per plugin #1870
    - Add caching for processing username and cmdline
    - Correct and improve refresh time method
    - Set refresh rate for global CPU percent
    - Set the dafault refresh rate of system stats to 60 seconds
    - Default refresh time for sensors is refresh rate * 2
    - Improve history perf
    - Change main curses loop
    - Improve Docker client connection
    - Update Flame profiling
* Get system sensors temperatures thresholds #1864
* Filter data exported from Docker plugin
* Make the Docker API connection timeout configurable
* Add --issue to Github issue template
* Add release-note in the Makefile
* Add some comments in cpu_percent
* Add some comments to the processlist.py
* Set minimal version for PSUtil to 5.3.0
* Add comment to default glances.conf file
* Improve code quality #820
* Update WebUI for security vuln

Bugs corrected:

* Quit from help should return to main screen, not exit #1874
* AttributeError: 'NoneType' object has no attribute 'current' #1875
* Merge pull request #1873 from metayan/fix-history-add
* Correct filter
* Correct Flake8 issue in plugins
* Pressing Q to get rid of irq not working #1792
* Spelling correction in docs #1886
* Starting an alias with a number causes a crash #1885
* Network interfaces not applying in web UI #1884
* Docker containers information missing with Docker 20.10.x #1878
* Get system sensors temperatures thresholds #1864

Contibutors for this version:

* Nicolargo
* Markus Pöschl
* Clifford W. Hansen
* Blake
* Yan

Glances 3.2.0

10 Jul 07:13
Compare
Choose a tag to compare

This release is a major version (but minor number because the API did not change). It focus on
CPU consumption. I use Flame profiling https://github.com/nicolargo/glances/wiki/Glances-FlameGraph_
and code optimization to reduce CPU consumption from 20% to 50% depending on your system.

Enhancement and development requests:

* Improve CPU consumption
    - Make the refresh rate configurable per plugin #1870
    - Add caching for processing username and cmdline
    - Correct and improve refresh time method
    - Set refresh rate for global CPU percent
    - Set the dafault refresh rate of system stats to 60 seconds
    - Default refresh time for sensors is refresh rate * 2
    - Improve history perf
    - Change main curses loop
    - Improve Docker client connection
    - Update Flame profiling
* Get system sensors temperatures thresholds #1864
* Filter data exported from Docker plugin
* Make the Docker API connection timeout configurable
* Add --issue to Github issue template
* Add release-note in the Makefile
* Add some comments in cpu_percent
* Add some comments to the processlist.py
* Set minimal version for PSUtil to 5.3.0
* Add comment to default glances.conf file
* Improve code quality #820
* Update WebUI for security vuln

Bugs corrected:

* Quit from help should return to main screen, not exit #1874
* AttributeError: 'NoneType' object has no attribute 'current' #1875
* Merge pull request #1873 from metayan/fix-history-add
* Correct filter
* Correct Flake8 issue in plugins
* Pressing Q to get rid of irq not working #1792
* Spelling correction in docs #1886
* Starting an alias with a number causes a crash #1885
* Network interfaces not applying in web UI #1884
* Docker containers information missing with Docker 20.10.x #1878
* Get system sensors temperatures thresholds #1864

Contibutors for this version:

* Nicolargo
* Markus Pöschl
* Clifford W. Hansen
* Blake
* Yan

Glances 3.1.7

11 May 07:14
Compare
Choose a tag to compare

Enhancements and bug corrected:

  • Security audit - B411 #1025 (by nicolargo)
  • GPU temperature not shown in webview #1849 (by nicolargo)
  • Remove shell=True for actions (following Bandit issue report) #1851 (by nicolargo)
  • Replace Travis by Github action #1850 (by nicolargo)
  • '/api/3/processlist/pid/3936'use this api can't get right info,all messy code #1828 (by nicolargo)
  • Refactor the way importants stats are displayed #1826 (by nicolargo)
  • Re-apply the Add hide option to sensors plugin #1596 PR (by nicolargo)
  • Smart plugin error while start glances as root #1806 (by nicolargo)
  • Plugin quicklook takes more than one seconds to update #1820 (by nicolargo)
  • Replace Pystache by Chevron 2/2 See #1817 (by nicolargo)
  • Doc. No SMART screenshot. #1799 (by nicolargo)

Glances 3.1.6

23 Jan 16:50
Compare
Choose a tag to compare

Enhancements and new features:

* Kill a process from the Curses interface #1444
* Manual refresh on F5 in the Curses interface #1753
* Hide function in sensors section #1590
* Enhancement Request: .conf parameter for AMP #1690
* Password for Web/Browser mode  #1674
* Unable to connect to Influxdb 2.0 #1776
* ci: fix release process and improve build speeds #1782
* Cache cpuinfo output #1700
* sort by clicking improvements and bug #1578
* Allow embedded AMP python script to be placed in a configurable location #1734
* Add attributes to stdout/stdout-csv plugins #1733
* Do not shorten container names #1723

Bugs corrected:

* Version tag for docker image packaging #1754 
* Unusual characters in cmdline cause lines to disappear and corrupt the display #1692 
* UnicodeDecodeError on any command with a utf8 character in its name #1676
* Docker image is not up to date install #1662
* Add option to set the strftime format #1785
* fix: docker dev build contains all optional requirements #1779
* GPU information is incomplete via web #1697
* [WebUI] Fix display of null values for GPU plugin #1773
* crash on startup on Illumos when no swap is configured #1767
* Glances crashes with 2 GPUS bug #1683
* [Feature Request] Filter Docker containers#1748
* Error with IP Plugin : object has no attribute #1528
* docker-compose #1760
* [WebUI] Fix sort by disk io #1759
* Connection to MQTT server failst #1705
* Misleading image tag latest-arm needs contributor packaging #1419
* Docker nicolargo/glances:latest missing arm builds? #1746
* Alpine image is broken packaging #1744
* RIP Alpine? needs contributor packaging #1741
* Manpage improvement documentation #1743
* Make build reproducible packaging #1740
* Automated multiarch builds for docker #1716
* web ui of glances is not coming #1721
* fixing command in json.rst #1724
* Fix container rss value #1722
* Alpine Image is broken needs test packaging #1720
* Fix gpu plugin to handle multiple gpus with different reporting capabilities bug #1634

Glances 3.1.5

20 Aug 08:36
Compare
Choose a tag to compare

Enhancements and new features:

    Enhancement: RSS for containers enhancement #1694
    exports: support rabbitmq amqps enhancement #1687
    Quick Look missing CPU Infos enhancement #1685
    Add amqps protocol suppport for rabbitmq export #1688
    Select host in Grafana json #1684
    Value for free disk space is counterintuative on ext file systems enhancement #644

Bugs corrected:

    Can't start server: unexpected keyword argument 'address' bug enhancement #1693
    class AmpsList method _build_amps_list() Windows fail (glances/amps_list.py) bug #1689
    Fix grammar in sensors documentation #1681
    Reflect "used percent" user disk space for [fs] alert #1680
    Bug: [fs] plugin needs to reflect user disk space usage needs test #1658
    Fixed formatting on FS example #1673
    Missing temperature documentation #1664
    Wiki page for starting as a service documentation #1661
    How to start glances with --username option on syetemd? documentation #1657
    tests using /etc/glances/glances.conf from already installed version bug #1654
    Unittests: Use sys.executable instead of hardcoding the python interpreter #1655
    Glances should not phone home install #1646
    Add lighttpd reverse proxy config to the wiki documentation #1643
    Undefined name 'i' in plugins/glances_gpu.py bug #1635

Glances 3.1.4

11 Mar 07:26
Compare
Choose a tag to compare

Version 3.1.4

Enhancements and new features:

    FS filtering can be done on device name documentation enhancement #1606
    Feature request: Include hostname in all (e.g. kafka) exports #1594
    Threading.isAlive was removed in Python 3.9. Use is_alive. #1585
    log file under public/shared tmp/ folders must not have deterministic name #1575
    Install / Systemd Debian documentation #1560
    Display load as percentage when Irix mode is disable #1554
    [WebUI] Add a new TCP connections status plugin new feature #1547
    Make processes.sort_key configurable enhancement #1536
    NVIDIA GPU temperature #1523
    Feature request: HDD S.M.A.R.T. #1288

Bugs corrected:

    Glances 3.1.3: when no network interface with Public address #1615
    NameError: name 'logger' is not defined #1602
    Disk IO stats missing after upgrade to 5.5.x kernel #1601
    Glances don't want to run on Crostini (LXC Container, Debian 10, python 3.7.3) #1600
    Kafka key name needs to be bytes #1593
    Cant start glances with glances --export mqtt #1581
    [WEBUI] AMP plugins is not displayed correctly in the Web Interface #1574
    Unhandled AttributeError when no config files found #1569
    Glances writing lots of Docker Error message in logs file enhancement #1561
    GPU stats not showing on mobile web view bug needs test #1555
    KeyError: b'Rss:' in memory_maps #1551
    CPU usage is always 100% #1550
    IP plugin still exporting data when disabled #1544
    Quicklook plugin not working on Systemd #1537

Glances 3.1.0

19 Jan 16:08
Compare
Choose a tag to compare

Version 3.1

Enhancements and new features:

* Add a CSV output format to the STDOUT output mode #1363
* Feature request: HDD S.M.A.R.T. reports (thanks to @tnibert) #1288
* Sort docker stats #1276
* Prohibit some plug-in data from being exported to influxdb #1368
* Disable plugin from Glances configuration file #1378
* Curses-browser's server list paging added (thanks to @limfreee) #1385
* Client Browser's thread management added (thanks to @limfreee) #1391

Bugs corrected:

* TypeError: '<' not supported between instances of 'float' and 'str' #1315
* GPU plugin not exported to influxdb #1333
* Crash after running fine for several hours #1335
* Timezone listed doesn’t match system timezone, outputs wrong time #1337
* Compare issue with Process.cpu_times() #1339
* ERROR -- Can not grab extended stats (invalid attr name 'num_fds') #1351
* Action on port/web plugins is not working #1358
* Support for monochrome (serial) terminals e.g. vt220 #1362
* TypeError on opening (Wifi plugin) #1373
* Some field name are incorrect in CSV export #1372
* Standard output misbehaviour (need to flush) #1376
* Create an option to set the username to use in Web or RPC Server mode #1381
* Missing kernel task names when the webui is switched to long process names #1371
* Drive name with special characters causes crash #1383
* Cannot get stats in Cloud plugin (404) #1384

Others:

* Add Docker documentation (thanks to @rgarrigue)
* Refactor Glances logs (now called Glances events)
* "chart" extra dep replace by "graph" #1389

Glances 3.0.2

14 Oct 08:16
Compare
Choose a tag to compare

Version 3.0.2

Bug corrected:

* Glances IO Errorno 22 - Invalid argument #1326

Version 3.0.1

Bug corrected:

*  AMPs error if no output are provided by the system call #1314

Version 3.0

See the release note here: https://github.com/nicolargo/glances/wiki/Glances-3.0-Release-Note

Enhancements and new features:

* Make the left side bar width dynamic in the Curse UI #1177
* Add threads number in the process list #1259
* A way to have only REST API available and disable WEB GUI access #1149
* Refactor graph export plugin (& replace Matplolib by Pygal) #697
* Docker module doesn't export details about stopped containers #1152
* Add dynamic fields in all sections of the configuration file #1204
* Make plugins and export CLI option dynamical #1173
* Add a light mode for the console UI #1165
* Refactor InfluxDB (API is now stable) #1166
* Add deflate compression support to the RestAPI #1182
* Add a code of conduct for Glances project's participants #1211
* Context switches bottleneck identification #1212
* Take advantage of the psutil issue #1025 (Add process_iter(attrs, ad_value)) #1105
* Nice Process Priority Configuration #1218
* Display debug message if dep lib is not found #1224
* Add a new output mode to stdout #1168
* Huge refactor of the WebUI packaging thanks to @spike008t #1239
* Add time zone to the current time #1249
* Use HTTPs URLs to check public IP address #1253
* Add labels support to Promotheus exporter #1255
* Overlap in Web UI when monitoring a machine with 16 cpu threads #1265
* Support for exporting data to a MQTT server #1305

One more thing ! A new Grafana Dash is available with:
* Network interface variable
* Disk variable
* Container CPU

Bugs corrected:

* Crash in the Wifi plugin on my Laptop #1151
* Failed to connect to bus: No such file or directory #1156
* glances_plugin.py has a problem with specific docker output #1160
* Key error 'address' in the IP plugin #1176
* NameError: name 'mode' is not defined in case of interrupt shortly after starting the server mode #1175
* Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170
* Add missing mount-observe and system-observe interfaces #1179
* OS specific arguments should be documented and reported #1180
* 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185
* KeyError: 'memory_info' on stats sum #1188
* Electron/Atom processes displayed wrong in process list #1192
* Another encoding issue... With both Python 2 and Python 3 #1197
* Glances do not exit when eating 'q' #1207
* FreeBSD blackhole bug #1202
* Glances crashes when mountpoint with non ASCII characters exists #1201
* [WEB UI] Minor issue on the Web UI #1240
* [Glances 3.0 RC1] Client/Server is broken #1244
* Fixing horizontal scrolling #1248
* Stats updated during export (thread issue) #1250
* Glances --browser crashed when more than 40 glances servers on screen 78x45 #1256
* OSX - Python 3 and empty percent and res #1251
* Crashes when influxdb option set #1260
* AMP for kernel process is not working #1261
* Arch linux package (2.11.1-2) psutil (v5.4.1): RuntimeWarning: ignoring OSError #1203
* Glances crash with extended process stats #1283
* Terminal window stuck at the last accessed *protected* server #1275
* Glances shows mdadm RAID0 as degraded when chunksize=128k and the array isn't degraded. #1299
* Never starts in a server on Google Cloud and FreeBSD #1292

Backward-incompatible changes:

* Support for Python 3.3 has been dropped (EOL 2017-09-29)
* Support for psutil < 5.3.0 has been dropped
* Minimum supported Docker API version is now 1.21 (Docker plugins)
* Support for InfluxDB < 0.9 is deprecated (InfluxDB exporter)
* Zeroconf lib should be pinned to 0.19.1 for Python 2.x
* --disable-<plugin> no longer available (use --disable-plugin <plugin>)
* --export-<exporter> no longer available (use --export <exporter>)

News command line options:

--disable-webui  Disable the WebUI (only RESTful API will respond)
--enable-light   Enable the light mode for the UI interface
--modules-list   Display plugins and exporters list
--disable-plugin plugin1,plugin2
                 Disable a list of comma separated plugins
--export exporter1,exporter2
                 Export stats to a comma separated exporters
--stdout plugin1,plugin2.attribute
                 Display stats to stdout

News configuration keys in the glances.conf file:

Graph:

[graph]
# Configuration for the --export graph option
# Set the path where the graph (.svg files) will be created
# Can be overwrite by the --graph-path command line option
path=/tmp
# It is possible to generate the graphs automatically by setting the
# generate_every to a non zero value corresponding to the seconds between
# two generation. Set it to 0 to disable graph auto generation.
generate_every=60
# See followings configuration keys definitions in the Pygal lib documentation
# http://pygal.org/en/stable/documentation/index.html
width=800
height=600
style=DarkStyle

Processes list Nice value:

[processlist]
# Nice priorities range from -20 to 19.
# Configure nice levels using a comma separated list.
#
# Nice: Example 1, non-zero is warning (default behavior)
nice_warning=-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
#
# Nice: Example 2, low priority processes escalate from careful to critical
#nice_careful=1,2,3,4,5,6,7,8,9
#nice_warning=10,11,12,13,14
#nice_critical=15,16,17,18,19

Docker plugin (related to #1152)

[docker]
# By default, Glances only display running containers
# Set the following key to True to display all containers
all=False

All configuration file values (related to #1204)

[influxdb]
# It is possible to use dynamic system command
prefix=`hostname`
tags=foo:bar,spam:eggs,system:`uname -a`

Glances 3.0

05 Sep 06:31
Compare
Choose a tag to compare

Glances 2.11

27 Aug 12:10
Compare
Choose a tag to compare

Enhancements and new features:

* New export plugin: standard and configurable Restfull exporter (issue #1129)
* Add a JSON export module (issue #1130)
* [WIP] Refactoring of the WebUI

Bugs corrected:

* Installing GPU plugin crashes entire Glances (issue #1102)
* Potential memory leak in Windows WebUI (issue #1056)
* glances_network `OSError: [Errno 19] No such device` (issue #1106)
* GPU plugin. <class 'TypeError'>: ... not JSON serializable"> (issue #1112)
* PermissionError on macOS (issue #1120)
* Cant move up or down in glances --browser (issue #1113)
* Unable to give aliases to or hide network interfaces and disks (issue #1126)
* `UnicodeDecodeError` on mountpoints with non-breaking spaces (issue #1128)

Installation:

* Create a Snap of Glances (issue #1101)