zuul/releasenotes/notes/total-resource-usage-stats-5d6ce932e1f249d2.yaml
Benjamin Schanzel eac322d252 Report gross/total tenant resource usage stats
Export a new statsd gauge with the total resources of a tenant.
Currently, we only export resources of in-use nodes. With this, we
additionally report the cummulative resources of all of a tenants nodes
(i.e. ready, deleting, ...).

This also renames the existing in-use resource stat to distinguish those
clearly.

Change-Id: I76a8c1212c7e9b476782403d52e4e22c030d1371
2022-03-17 14:51:18 +01:00

26 lines
751 B
YAML

---
features:
- |
Zuul now reports total resource usage statistics.
The following statistic is emitted:
`zuul.nodepool.resources.total.tenant.{tenant}.{resource}`
Gauge with the currently used resources by tenant in total, i.e., all nodes
belonging to a tenant, regardles of their state.
upgrade:
- |
Zuul now reports total and in-use resource usage statics separately.
To distinquish those, the following statistics have been renamed:
- `zuul.nodepool.resources.tenant.{tenant}.{resource}`
`->`
`zuul.nodepool.resources.in_use.tenant.{tenant}.{resource}`
- `zuul.nodepool.resources.project.{project}.{resource}`:
`->`
`zuul.nodepool.resources.in_use.project.{tenant}.{resource}`