-
Notifications
You must be signed in to change notification settings - Fork 24
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
NETOBSERV-1352 enhance prom filters for RTT metrics #478
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #478 +/- ##
==========================================
+ Coverage 66.03% 67.07% +1.04%
==========================================
Files 94 94
Lines 6921 6724 -197
==========================================
- Hits 4570 4510 -60
+ Misses 2092 1948 -144
- Partials 259 266 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
LGTM
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=555ba5d make set-flp-image |
@jpinsonneau I flagged LGTM, but taken in the light of bug https://issues.redhat.com/browse/NETOBSERV-1344, we will need to have filters such as "FlowDirection==1 OR FlowDirection==2" and/or "FlowDirection!=0" and/or "FlowDirection~=1|2" ... we should probably think about that before merging |
Let's just merge all metrics PRs pending before doing the fix everywhere so we don't miss any ? |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=e54bae8 make set-flp-image |
I'm ok to go with it but just to mention a small concern, it creates some reserved words or characters that are not possible to have in filters as raw text .. even if today it sounds unlikely to have "nil" or "|" actually written in a field and to be willing to filter on that (as a text value), still we are creating reserved keyword that we could avoid by just changing the API. E.g: as an alternative, we could implement a |
As you prefer. I don't have strong opinion on that. Feel free to merge if it's blocking other PRs else I can refactor here; just let me know. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jotak 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 |
* enhance prom filters * a|b filter match
* enhance prom filters * a|b filter match Co-authored-by: Julien Pinsonneau <[email protected]>
This PR improve prom metrics filtering introducing:
!nil
to match presenceof the field with any valuenil
to match absence of the field|
splitter to match at least one value