Add project resource and limit metrics#3021
Conversation
be726a9 to
691f506
Compare
Signed-off-by: Saad Eddine KHAZARI <[email protected]>
Signed-off-by: Saad Eddine KHAZARI <[email protected]>
Signed-off-by: Saad Eddine KHAZARI <[email protected]>
691f506 to
4eea6d1
Compare
Yeah, the current warning metric is pretty useless, especially as it's counting "resolved" warnings too... Thinking of it from a dashboard point of view, I'd like to easy be able to grab:
So I'm not sure that the warning type is something we really need to expose as that's the most dynamic of the options and adding new metrics every time we introduce one would make it hard for dashboards to keep up, but having the ability to show a warning count and split by severity or status for a given project, or server would be useful. |
Hey!
This adds metrics for project resources (containers, virtual-machines, images, profiles, networks, storage-volumes) and project limit/usage when limits are configured.
On a side note, I was looking at the existing warnings metric and wanted to add more details like the severity or status. Would it be more useful to have one metric per warning with labels (severity, status, type, project, location, uuid) or is the aggregated count enough?