New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use honorLabels instead of labelDrop #6570
Conversation
Thanks to labeldrop, we can label metrics belong to workloads correctly but as a side effect we lose namespace labels for metrics belong to control plane. In the past, honorLabels were not recommended by monitoring team because of security concerns but now it is recommended. Signed-off-by: Erkan Erol <eerol@redhat.com>
/lgtm Great that we can finally use honorLabels. /hold @erkanerol feel free to unhold once verified on your target platforms. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@simonpasquier Could you please confirm that honorLabels is safe to use? |
/unhold |
Note that this PR will fix missing namespace labels on "up" metrics but there is another issue as stated in #5383
|
yes I think that it's reasonable to use |
/retest-required |
/retest |
1 similar comment
/retest |
Manual cherry-picks - kubevirt#6570 - kubevirt#6588 - kubevirt#6652 Signed-off-by: Erkan Erol <eerol@redhat.com>
Thanks to labeldrop, we can label metrics belong to
workloads correctly but as a side effect we lose
namespace labels for metrics belong to control plane.
In the past, honorLabels were not recommended by
openshift monitoring team because of security concerns but now
it is recommended.
Signed-off-by: Erkan Erol eerol@redhat.com
Necessary to fix #5383
Release note: