Werk #22240: InfluxDB: metric values rounded to six significant digits
| Component | Core & setup | ||||||
| Title | InfluxDB: metric values rounded to six significant digits | ||||||
| Date | Sep 4, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Checkmk kept only the first six digits of every value it sent to InfluxDB. A filesystem holding 1099511627776 bytes was recorded as 1099510000000, every digit past the sixth replaced by a zero. Metric values, their minima and maxima, and their warning and critical bounds were all affected.
The rounding also coarsened the data. Six digits leave a 1 TiB filesystem a resolution of 10 MB, so a volume growing by 2 MB per check was recorded as motionless for several checks and then jumping 10 MB at once. Slow trends arrived as staircases rather than slopes.
Checkmk now writes the shortest number that reproduces the measured value exactly, using scientific notation only where that is shorter. Both forms are valid line protocol floats.
Values already stored keep their reduced precision. Only new writes carry full precision.