zuul/releasenotes/notes/resource-usage-stats-bfcd6765ef4a9c86.yaml
Tobias Henkel e90fe41bfe Report tenant and project specific resource usage stats
We currently lack means to support resource accounting of tenants or
projects. Together with an addition to nodepool that adds resource
metadata to nodes we can emit statsd statistics per tenant and per
project.

The following statistics are emitted:
* zuul.nodepool.resources.tenant.{tenant}.{resource}.current
  Gauge with the currently used resources by tenant

* zuul.nodepool.resources.project.{project}.{resource}.current
  Gauge with the currently used resources by project

* zuul.nodepool.resources.tenant.{tenant}.{resource}.counter
  Counter with the summed usage by tenant. e.g. cpu seconds

* zuul.nodepool.resources.project.{project}.{resource}.counter
  Counter with the summed usage by project. e.g. cpu seconds

Depends-On: https://review.openstack.org/616262
Change-Id: I68ea68128287bf52d107959e1c343dfce98f1fc8
2019-05-29 04:10:08 +00:00

15 lines
518 B
YAML

---
features:
- |
Zuul now reports resource usage statistics if they are provided by nodepool.
The following statistics are emitted:
- `zuul.nodepool.resources.tenant.{tenant}.{resource}`:
Gauge with the currently used resources by tenant and counter with the
summed usage by tenant. e.g. cpu seconds
- `zuul.nodepool.resources.project.{project}.{resource}`:
Gauge with the currently used resources by project and counter with the
summed usage by project. e.g. cpu seconds