-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ Update glances to v4 #474
Conversation
2cc885a
to
512fd67
Compare
c35c9f4
to
133c399
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the WalkthroughThe change involves upgrading the Changes
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
2e1d7d3
to
fd9b86c
Compare
131c809
to
eadc413
Compare
eadc413
to
b5badb3
Compare
ba7a6ff
to
9d0eb78
Compare
42467a5
to
b9b855d
Compare
a0f84ed
to
a18d325
Compare
a18d325
to
97ef56d
Compare
97ef56d
to
6f78e7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- glances/requirements.txt (1 hunks)
Additional comments not posted (1)
glances/requirements.txt (1)
3-3
: Verify compatibility and impact of theglances
update.The update to
glances==4.1.2
introduces several enhancements and breaking changes, including the removal of Python 2 support and API modifications. Ensure that:
- The codebase is compatible with Python 3.8 or higher.
- Any dependent systems or scripts are updated to accommodate API changes.
- The new features and enhancements are tested to confirm they meet your requirements.
6f78e7c
to
9ef5b27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- glances/requirements.txt (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- glances/requirements.txt
9ef5b27
to
e5b7a2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- glances/requirements.txt (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- glances/requirements.txt
e5b7a2c
to
0484a77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- glances/requirements.txt (1 hunks)
Files skipped from review due to trivial changes (1)
- glances/requirements.txt
0484a77
to
ad9b5a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- glances/requirements.txt (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- glances/requirements.txt
1473682
to
5f28120
Compare
5f28120
to
c6ea30f
Compare
c6ea30f
to
7c6eeda
Compare
This PR contains the following updates:
==3.4.0.5
->==4.1.2
Release Notes
nicolargo/glances (glances)
v4.1.2
Compare Source
v4.1.1
: Glances 4.1.1Compare Source
Version 4.1.1
Bug corrected:
Version 4.1.0
Enhancements:
Bug corrected:
Continious integration and documentation:
Thanks to all contibutors and bug reporters !
Special thanks to:
v4.1.0
Compare Source
v4.0.8
: Glances 4.0.8Compare Source
Version 4.0.8
v4.0.7
: Glances 4.0.7Compare Source
Version 4.0.7
Version 4.0.6
Version 4.0.5
Use Ruff as default Linter.
Version 4.0.4
Hostfix release for support sensors plugin on python 3.8
Version 4.0.3
Additional fixes for Sensor plugin
Version 4.0.2
Thanks to RazCrimson for the sensors patch !
Version 4.0.1
Correct issue with CI (miss pydantic dep).
Version 4.0.0
New Features
Export individual processes stats
Thanks to the new software architecture it is now possible to export individual processes stats.
You should define the processes to export from the configuration file (section processlist /option export)
or via the --export-process-filter option on the command line.
Those options are a comma separated list of Glances filter (example bellow):
The following example exports all processes with the name 'python' or 'bash':
Note: or the --export-process-filter ".python.,.bash." option in the command line.
Another example exports all processes belong to 'nicolargo' user:
Note: or the --export-process-filter "username:nicolargo" option in the command line.
Last example with the output result in a CSV file, with the following command line example:
the output CSV file (with the PID as primary key) will look like:
Note: more details in issue #794.
GPU plugin now support AMD GPU
Lasts Linux Kernel expose the GPU stats in the /sys/class/drm folder.
So, additionally to NVidia cards and without any external lib, Glances can display AMD GPU stats:
GPU plugin software architecture has been re-factorized in order to easily add others cards in the future (Intel).
Note: more details in issue #993.
Wifi plugin is back
As Glances version 4 is no longer supported Python 2, Wifi plugin has been refactor and do not need any external library.
Glances parses the /proc/net/wireless file on new Linux kernel.
Note: more details in issue #1377.
Refactor alias configuration
Alias has been completely refactor for all plugins in order to make it easier to configure.
Glances version 3.x and lower:
Glances version 4.x and higher:
Note: more details in issue #1735.
Fields descriptions and units are now available through the API
You can now get stat description and unit through the Glances version 4 API.
Note: more details in issue #2630.
Make the left menu configurable
It is now possible to configure the plugins list displayed in the Curses and Web interfaces thanks to the left_menu option in the outputs section of the Glances configuration file:
Display:
Quick look plugin is now configurable
By default it displays CPU, Memory and Load information.
Example to cam back to the Glances version 3.0 configuration (with swap instead of load):
Stats list (default is cpu,mem,load)
Available stats are: cpu,mem,load,swap
Graphical bar char used in the terminal user interface (default is |)
Note: More information in issue #2662.
Enhance per CPU display
Number of cores increase, so the "Per CPU" plugin has been adpated in order to display the top 'n' CPU consuption ('n' is configurable from the Glances configuration file through the max_cpu_display option in the percpu section (default is 4 CPUs).
Note: see more details in issue #2734.
Display guest CPU statistic in the CPU plugin
On Linux, guest CPU is percentage of time a virtual CPU spends servicing another virtual CPU under the control of the kernel.
A new logo !
Last and not least, thanks to Elad @eBarazi...
a new logo is released...
Improvements
Speed up Glances launch
Glances version 3 takes between 2 and 3 seconds to start.
Glances version 4 takes less than 1 seconds to start, with all plugins.
See #1534 for more information.
Huge improvement of the Restful API documentation
More example and information available in the single page documentation: https://github.com/nicolargo/glances/blob/develop/docs/api.rst
Breaking changes
Python version
Support of Python 2 has been removed. Glances needs Python 3.8 or higher.
Python dependencies
For package maintainers, please note that standards dependencies have changed.
Minimal requirements for Glances version 4 are:
Majors changes between Glances version 3 and version 4:
APIs
Alias definition change in the configuration file
Glances version 3.x and lower:
Glances version 4.x and higher:
More details in issue #1735.
Others
All the issues corrected in this version
Enhancements:
Bug corrected:
CI and documentation:
Many thinks to the contributors:
Ready to install/upgrade ?
Have a look to the documentation.
v4.0.6
: Glances 4.0.6Compare Source
New Features
Export individual processes stats
Thanks to the new software architecture it is now possible to export individual processes stats.
You should define the processes to export from the configuration file (section processlist /option export)
or via the --export-process-filter option on the command line.
Those options are a comma separated list of Glances filter (example bellow):
The following example exports all processes with the name 'python' or 'bash':
Note: or the --export-process-filter ".python.,.bash." option in the command line.
Another example exports all processes belong to 'nicolargo' user:
Note: or the --export-process-filter "username:nicolargo" option in the command line.
Last example with the output result in a CSV file, with the following command line example:
the output CSV file (with the PID as primary key) will look like:
Note: more details in issue #794.
GPU plugin now support AMD GPU
Lasts Linux Kernel expose the GPU stats in the /sys/class/drm folder.
So, additionally to NVidia cards and without any external lib, Glances can display AMD GPU stats:
GPU plugin software architecture has been re-factorized in order to easily add others cards in the future (Intel).
Note: more details in issue #993.
Wifi plugin is back
As Glances version 4 is no longer supported Python 2, Wifi plugin has been refactor and do not need any external library.
Glances parses the /proc/net/wireless file on new Linux kernel.
Note: more details in issue #1377.
Refactor alias configuration
Alias has been completely refactor for all plugins in order to make it easier to configure.
Glances version 3.x and lower:
Glances version 4.x and higher:
Note: more details in issue #1735.
Fields descriptions and units are now available through the API
You can now get stat description and unit through the Glances version 4 API.
Note: more details in issue #2630.
Make the left menu configurable
It is now possible to configure the plugins list displayed in the Curses and Web interfaces thanks to the left_menu option in the outputs section of the Glances configuration file:
Display:
Quick look plugin is now configurable
By default it displays CPU, Memory and Load information.
Example to cam back to the Glances version 3.0 configuration (with swap instead of load):
Stats list (default is cpu,mem,load)
Available stats are: cpu,mem,load,swap
Graphical bar char used in the terminal user interface (default is |)
Note: More information in issue #2662.
Enhance per CPU display
Number of cores increase, so the "Per CPU" plugin has been adpated in order to display the top 'n' CPU consuption ('n' is configurable from the Glances configuration file through the max_cpu_display option in the percpu section (default is 4 CPUs).
Note: see more details in issue #2734.
Display guest CPU statistic in the CPU plugin
On Linux, guest CPU is percentage of time a virtual CPU spends servicing another virtual CPU under the control of the kernel.
A new logo !
Last and not least, thanks to Elad @eBarazi...
a new logo is released...
Improvements
Speed up Glances launch
Glances version 3 takes between 2 and 3 seconds to start.
Glances version 4 takes less than 1 seconds to start, with all plugins.
See #1534 for more information.
Huge improvement of the Restful API documentation
More example and information available in the single page documentation: https://github.com/nicolargo/glances/blob/develop/docs/api.rst
Breaking changes
Python version
Support of Python 2 has been removed. Glances needs Python 3.8 or higher.
Python dependencies
For package maintainers, please note that standards dependencies have changed.
Minimal requirements for Glances version 4 are:
Majors changes between Glances version 3 and version 4:
APIs
Alias definition change in the configuration file
Glances version 3.x and lower:
Glances version 4.x and higher:
More details in issue #1735.
Others
All the issues corrected in this version
Enhancements:
Bug corrected:
CI and documentation:
Many thinks to the contributors:
Ready to install/upgrade ?
Have a look to the documentation.
v4.0.5
Compare Source
v4.0.4
: Glances 4.0.4Compare Source
New Features
Export individual processes stats
Thanks to the new software architecture it is now possible to export individual processes stats.
You should define the processes to export from the configuration file (section processlist /option export)
or via the --export-process-filter option on the command line.
Those options are a comma separated list of Glances filter (example bellow):
The following example exports all processes with the name 'python' or 'bash':
Note: or the --export-process-filter ".python.,.bash." option in the command line.
Another example exports all processes belong to 'nicolargo' user:
Note: or the --export-process-filter "username:nicolargo" option in the command line.
Last example with the output result in a CSV file, with the following command line example:
the output CSV file (with the PID as primary key) will look like:
Note: more details in issue #794.
GPU plugin now support AMD GPU
Lasts Linux Kernel expose the GPU stats in the /sys/class/drm folder.
So, additionally to NVidia cards and without any external lib, Glances can display AMD GPU stats:
GPU plugin software architecture has been re-factorized in order to easily add others cards in the future (Intel).
Note: more details in issue #993.
Wifi plugin is back
As Glances version 4 is no longer supported Python 2, Wifi plugin has been refactor and do not need any external library.
Glances parses the /proc/net/wireless file on new Linux kernel.
Note: more details in issue #1377.
Refactor alias configuration
Alias has been completely refactor for all plugins in order to make it easier to configure.
Glances version 3.x and lower:
Glances version 4.x and higher:
Note: more details in issue #1735.
Fields descriptions and units are now available through the API
You can now get stat description and unit through the Glances version 4 API.
Note: more details in issue #2630.
Make the left menu configurable
It is now possible to configure the plugins list displayed in the Curses and Web interfaces thanks to the left_menu option in the outputs section of the Glances configuration file:
Display:
Quick look plugin is now configurable
By default it displays CPU, Memory and Load information.
Example to cam back to the Glances version 3.0 configuration (with swap instead of load):
Stats list (default is cpu,mem,load)
Available stats are: cpu,mem,load,swap
Graphical bar char used in the terminal user interface (default is |)
Note: More information in issue #2662.
Enhance per CPU display
Number of cores increase, so the "Per CPU" plugin has been adpated in order to display the top 'n' CPU consuption ('n' is configurable from the Glances configuration file through the max_cpu_display option in the percpu section (default is 4 CPUs).
Note: see more details in issue #2734.
Display guest CPU statistic in the CPU plugin
On Linux, guest CPU is percentage of time a virtual CPU spends servicing another virtual CPU under the control of the kernel.
A new logo !
Last and not least, thanks to Elad @eBarazi...
a new logo is released...
Improvements
Speed up Glances launch
Glances version 3 takes between 2 and 3 seconds to start.
Glances version 4 takes less than 1 seconds to start, with all plugins.
See #1534 for more information.
Huge improvement of the Restful API documentation
More example and information available in the single page documentation: https://github.com/nicolargo/glances/blob/develop/docs/api.rst
Breaking changes
Python version
Support of Python 2 has been removed. Glances needs Python 3.8 or higher.
Python dependencies
For package maintainers, please note that standards dependencies have changed.
Minimal requirements for Glances version 4 are:
Majors changes between Glances version 3 and version 4:
APIs
Alias definition change in the configuration file
Glances version 3.x and lower:
Glances version 4.x and higher:
More details in issue #1735.
Others
All the issues corrected in this version
Enhancements:
Bug corrected:
CI and documentation:
Many thinks to the contributors:
Ready to install/upgrade ?
Have a look to the documentation.
v4.0.3
Compare Source
Full Changelog: nicolargo/glances@v4.0.2...v4.0.3
v4.0.2
: Glances 4.0.2Compare Source
DRAFT UNDER CONSTRUCTION
New Features
Export individual processes stats
Thanks to the new software architecture it is now possible to export individual processes stats.
You should define the processes to export from the configuration file (section processlist /option export)
or via the --export-process-filter option on the command line.
Those options are a comma separated list of Glances filter (example bellow):
The following example exports all processes with the name 'python' or 'bash':
Note: or the --export-process-filter ".python.,.bash." option in the command line.
Another example exports all processes belong to 'nicolargo' user:
Note: or the --export-process-filter "username:nicolargo" option in the command line.
Last example with the output result in a CSV file, with the following command line example:
the output CSV file (with the PID as primary key) will look like:
Note: more details in issue #794.
GPU plugin now support AMD GPU
Lasts Linux Kernel expose the GPU stats in the /sys/class/drm folder.
So, additionally to NVidia cards and without any external lib, Glances can display AMD GPU stats:
GPU plugin software architecture has been re-factorized in order to easily add others cards in the future (Intel).
Note: more details in issue #993.
Wifi plugin is back
As Glances version 4 is no longer supported Python 2, Wifi plugin has been refactor and do not need any external library.
Glances parses the /proc/net/wireless file on new Linux kernel.
Note: more details in issue #1377.
Refactor alias configuration
Alias has been completely refactor for all plugins in order to make it easier to configure.
Glances version 3.x and lower:
Glances version 4.x and higher:
Note: more details in issue #1735.
Fields descriptions and units are now available through the API
You can now get stat description and unit through the Glances version 4 API.
Note: more details in issue #2630.
Make the left menu configurable
It is now possible to configure the plugins list displayed in the Curses and Web interfaces thanks to the left_menu option in the outputs section of the Glances configuration file:
Display:
Quick look plugin is now configurable
By default it displays CPU, Memory and Load information.
Example to cam back to the Glances version 3.0 configuration (with swap instead of load):
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.