Describe the bug
Despite setting the enableAnnotations flag in Helm metrics of all pods on the cluster are collected even when they do not have the annotation retina.sh: observe.
I shortened the Helm config and only left the (hopefully) relevant feature flags to reproduce the issues.
I can also provide a full Helm values.yam if needed.
Expected behavior
Only metrics from Pods in kube-system and from namespace / pods annotated with the annotation mentioned above are collected.
Platform (please complete the following information):
Describe the bug Despite setting the
enableAnnotations
flag in Helm metrics of all pods on the cluster are collected even when they do not have the annotationretina.sh: observe
.Also its not clear which label is the right one the
retina.sh: observe
mentioned here https://github.com/microsoft/retina/blob/main/docs/metrics/annotations.md orretina.sh/v1alpha=observe
mentioned here https://github.com/microsoft/retina/blob/main/docs/installation/config.md.The documentation is inconsistent regarding the required annotation.
To Reproduce Steps to reproduce the behaviour:
Helm Config:
I shortened the Helm config and only left the (hopefully) relevant feature flags to reproduce the issues. I can also provide a full Helm values.yam if needed.
Expected behavior Only metrics from Pods in kube-system and from namespace / pods annotated with the annotation mentioned above are collected.
Platform (please complete the following information):