nodepool/releasenotes/notes/label-stats-1059f87162e461e1.yaml
Tobias Henkel b01c7821e5
Initialize label statistics to zero
The label statistics age gauges that keep their values. Currently
nodepool doesn't initialize the label based node statistics to
zero. Because of this any label state that shows up in the statistics
won't be reset to zero and nodepool is stopping to send updates to
this gauge. This leads to graphs that are mostly stuck to 1 if no
nodes are currently in this state.

This can be fixed by iterating over the supported labels and
initializing all states of them to zero.

Change-Id: I6c7f63f8f64a83b225386f6da567bfae5141be7b
2018-10-18 15:45:42 +02:00

6 lines
143 B
YAML

---
fixes:
- |
The nodes by label and state statistic gauges are now correctly reset to
zero if no node of a label and state exists.