Fix: A specific API field has to be a string rather than float, and recent Grafana versions validate this.

This commit is contained in:
s3lph 2022-07-19 03:01:46 +02:00
parent 396e0e5c5f
commit dc3f7101f0
3 changed files with 15 additions and 2 deletions

View file

@ -1,6 +1,19 @@
# iCalendar Timeseries Server Changelog
<!-- BEGIN RELEASE v0.6 -->
## Version 0.6
### Changes
<!-- BEGIN CHANGES 0.6 -->
- Fix: A specific API field has to be a string rather than float, and recent Grafana versions validate this.
<!-- END CHANGES 0.6 -->
<!-- END RELEASE v0.6 -->
<!-- BEGIN RELEASE v0.5 -->
## Version 0.5

View file

@ -1,2 +1,2 @@
__version__ = '0.5'
__version__ = '0.6'

View file

@ -59,7 +59,7 @@ class Event(Metric):
},
'value': [
self.start.timestamp(),
1
"1"
]
}
event['metric'].update(self._labels)