Add Claim Metrics/Status Support
What problem are you facing?
The new metrics framework currently does not include the ability to view metrics or status for claims. This limitation makes it challenging to monitor the health and usage of claims, which is an essential aspect of managing Crossplane resources effectively.
How could Crossplane help solve your problem?
When using x-metrics in the past there were several metrics we were able to key off of things such as Number of claims, Number of Synced MRs per Claim, Number of MRs by Control Plane and Number of Ready MRs per Claim.
Thanks for your input on this area of metrics that would be valuable for your team @mitchelldavis44 - it's something that has come up before so there is demand for it 😉
I've gone ahead and added this issue to the task list in https://github.com/crossplane/crossplane/issues/4620 for tracking purposes so it doesn't fall through the cracks.
Some links to previous related conversation:
- request for claim level metrics: https://github.com/crossplane/crossplane/issues/4620#issuecomment-2475015550
- dangers of high cardinality for individual claim metrics, but support for aggregate claim metrics: https://github.com/crossplane/crossplane-runtime/pull/683#discussion_r1550609074
- it sounds like your request is for higher level aggregate metrics about claims though, as opposed to details for every single claim, which is discouraged in the discussion above ^