FS#73195 - glances -- list optional depends for prometheus
Attached to Project:
Community Packages
Opened by Jamin Collins (jamincollins) - Thursday, 30 December 2021, 00:38 GMT
Last edited by Robin Candau (Antiz) - Tuesday, 02 May 2023, 07:15 GMT
Opened by Jamin Collins (jamincollins) - Thursday, 30 December 2021, 00:38 GMT
Last edited by Robin Candau (Antiz) - Tuesday, 02 May 2023, 07:15 GMT
|
Details
Description: list optional depends for prometheus
Additional info: * package versions - glances 3.2.4-2 * config and/or log files etc. - none * link to upstream bug report, if any - none Steps to reproduce: * install glances * attempt to start a prometheus export ``` glances --export prometheus Traceback (most recent call last): File "/usr/bin/glances", line 33, in <module> sys.exit(load_entry_point('Glances==3.2.4', 'console_scripts', 'glances')()) File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 150, in main start(config=core.get_config(), args= core.get_args()) File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 109, in start mode = GlancesMode(config=config, args=args) File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 53, in __init__ self.stats = GlancesStats(config=config, args=args) File "/usr/lib/python3.10/site-packages/glances/stats.py", line 49, in __init__ self.load_modules(self.args) File "/usr/lib/python3.10/site-packages/glances/stats.py", line 100, in load_modules self.load_exports(args=args) File "/usr/lib/python3.10/site-packages/glances/stats.py", line 175, in load_exports export_module = __import__(self._exports_all[export_name]) File "/usr/lib/python3.10/site-packages/glances/exports/glances_prometheus.py", line 29, in <module> from prometheus_client import start_http_server, Gauge ModuleNotFoundError: No module named 'prometheus_client' ``` The package needed is `python-prometheus_client` |
This task depends upon
Closed by Robin Candau (Antiz)
Tuesday, 02 May 2023, 07:15 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in: https://github.com/archlinux/svntogit-co mmunity/commit/bed12cdf519e1f5165061d4b8 a4510ca5bd46253
Tuesday, 02 May 2023, 07:15 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in: https://github.com/archlinux/svntogit-co mmunity/commit/bed12cdf519e1f5165061d4b8 a4510ca5bd46253
Comment by Robin Candau (Antiz) -
Tuesday, 02 May 2023, 07:15 GMT
Done in:
https://github.com/archlinux/svntogit-community/commit/bed12cdf519e1f5165061d4b8a4510ca5bd46253
(currently in [community-testing])