Closed tony2001 closed 6 months ago
Hello, @tony2001. Thanks for opening a PR.
This will be a breaking change, but I don't hesitate to accept.
git rebase HEAD~1 --signoff
P.S. This is a surprise for me that we do not have unit tests for metrics. It would be cool if you could add one, but I understand that for this PR it is out of scope.
OK, check it out again pls.
@tony2001 thank you for the contribution.
Currently there is a separate set of similar metrics for each deployment kind: k8s_image_availability_exportercronjob k8s_image_availability_exporterdaemonset k8s_image_availability_exporterdeployment k8s_image_availability_exporterstatefulset
So to monitor missing images I have to use 4 different queries instead of one. Why not simplify it by using a
kind
label instead?