Compare commits

...

4 Commits

Author SHA1 Message Date
nicolargo
48103f167e Only test latest Python version on MacOS 2024-06-29 16:43:47 +02:00
nicolargo
154ae8e610 On the road (again) to Glances 4.2.0 2024-06-29 16:36:22 +02:00
nicolargo
86c2cd1d4a Glances 4.1.1 2024-06-29 16:28:50 +02:00
nicolargo
452fd6497e Sensors data is not exported using InfluxDB2 exporter #2856 2024-06-29 16:03:27 +02:00
5 changed files with 13 additions and 6 deletions

View File

@ -99,7 +99,8 @@ jobs:
runs-on: macos-14
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# Only test the latest stable version
python-version: ["3.12"]
steps:

View File

@ -10,6 +10,14 @@ Under development, see roadmap here: https://github.com/nicolargo/glances/milest
Contributors are welcome !
===============
Version 4.1.1
===============
Bug corrected:
* Sensors data is not exported using InfluxDB2 exporter #2856
===============
Version 4.1.0
===============

View File

@ -139,8 +139,7 @@ class Export(GlancesExport):
if k in fields:
tags[k] = str(fields[k])
# Remove it from the field list (can not be a field and a tag)
if k in fields:
fields.pop(fields[k])
fields.pop(k)
# Add the measurement to the list
ret.append({'measurement': name, 'tags': tags, 'fields': fields})
return ret

View File

@ -147,8 +147,7 @@ class Export(GlancesExport):
if k in fields:
tags[k] = str(fields[k])
# Remove it from the field list (can not be a field and a tag)
if k in fields:
fields.pop(fields[k])
fields.pop(k)
# Add the measurement to the list
ret.append({'measurement': name, 'tags': tags, 'fields': fields})
return ret

View File

@ -1,5 +1,5 @@
name: glances
version: '4.1.0+build01'
version: '4.1.1+build01' # Put the current stable version+buildXX
summary: Glances an Eye on your system. A top/htop alternative.
description: |