[release-1.11] NETOBSERV-2596: Make console plugin controller use health metadata for config, set some default rules as recording#2413
Conversation
…me default rules as recording
- Refactor all alerts to implement a HealthRule interface
- HealthRule provides the Annotations, RecordingName and the
PrometheusRule
- RecordingName now provided explicitly
- Split logic between "builder" and "context"
- Console plugin controller just dumps annotations to config
- Change some defaults to Recording
Since these annotations are a user-exposed API, it is preferable to use a more k8s-standard terminology, ie "workload" instead of "owner".
|
@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: NETOBSERV-2596 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @openshift-cherrypick-robot. Thanks for your PR. I'm waiting for a netobserv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-1.11 #2413 +/- ##
================================================
+ Coverage 71.84% 72.17% +0.32%
================================================
Files 93 104 +11
Lines 10567 10619 +52
================================================
+ Hits 7592 7664 +72
+ Misses 2493 2480 -13
+ Partials 482 475 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This is an automated cherry-pick of #2388
/assign jotak