-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[release-1.5] Replace metric labels' none values with empty values #14918
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
[release-1.5] Replace metric labels' none values with empty values #14918
Conversation
Signed-off-by: João Vilaça <[email protected]>
| const ( | ||
| none = "<none>" | ||
| none = "" // Empty values will be ignored by operator-observability and label will not be created | ||
| other = "<other>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "other"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
custom instance types and preferences not whitelisted (not provided by neither kubevirt or redhat) to reduce cardinality of the metrics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update to other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a backport, should be done now in different prs/jira issues
|
/test pull-kubevirt-build |
|
@machadovilaca: The specified target(s) for The following commands are available to trigger optional jobs: Use DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test pull-kubevirt-build-1.5 |
|
/approve @avlitman please review |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enp0s3, sradco The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
@machadovilaca: you cannot LGTM your own PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/lgtm |
|
/test pull-kubevirt-unit-test-s390x-1.5 |
manual cherry-pick of #14805
Before this PR:
kubevirt_vmi_info and kubevirt_vm_info should not report for missing labels. Like workload, flavor, instance_type, and preference.
This complicates the dashboards, since we don't want to show value for labels that don't exist.
After this PR:
We only report labels if we have data for them
Fixes #
jira-ticket: https://issues.redhat.com/browse/CNV-62761
-->
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note