NETOBSERV-2477: network predefined metrics + add missing ipsec#2420
NETOBSERV-2477: network predefined metrics + add missing ipsec#2420jpinsonneau wants to merge 3 commits intonetobserv:mainfrom
Conversation
|
@jpinsonneau: This pull request references NETOBSERV-2477 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. 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. |
|
@jpinsonneau: This pull request references NETOBSERV-2477 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2420 +/- ##
==========================================
- Coverage 72.71% 72.57% -0.15%
==========================================
Files 104 104
Lines 10615 10617 +2
==========================================
- Hits 7719 7705 -14
- Misses 2425 2434 +9
- Partials 471 478 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
I'm looking into that, and I think we have two options here about the network metrics:
The second option is preferable because it allows to correlate networks with other entities, BUT only if it's not completely orthogonal to that family. For example, I wouldn't add the networks labels to nodes or namespaces metrics, because there can be many different networks per node or per namespace, so that would increase cardinality a lot. But I think per workload would be fine. So, instead of creating entirely new metrics, I would just add the labels into the workload metrics. |
|
(rebased) |
|
@jpinsonneau: This pull request references NETOBSERV-2477 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. 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. |
|
/lgtm |
|
[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 |
Description
Add missing network predefined metrics
Added some tests to cover new / existing metrics
Added missing ipsec metrics on namespaces and workloads from the CRD (they were already implemented in code)
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.