-
Notifications
You must be signed in to change notification settings - Fork 26
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-1625: Add ebpf altering for flows drop #632
NETOBSERV-1625: Add ebpf altering for flows drop #632
Conversation
93d2696
to
8327393
Compare
@msherif1234: This pull request references NETOBSERV-1625 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 story to target the "4.16.0" version, but no target version was set. In 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. |
8327393
to
07c5b83
Compare
b85c21c
to
2a846b5
Compare
$ oc get prometheusrules -n netobserv-privileged ebpf-agent-prom-alert -o yaml
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
creationTimestamp: "2024-04-29T23:53:40Z"
generation: 1
labels:
app: netobserv-ebpf-agent
name: ebpf-agent-prom-alert
namespace: netobserv-privileged
ownerReferences:
- apiVersion: flows.netobserv.io/v1beta2
blockOwnerDeletion: true
controller: true
kind: FlowCollector
name: cluster
uid: 7376e577-a0d4-4ffd-a83d-cacc0199e14e
resourceVersion: "11150"
uid: 51e833bc-aef1-4f9c-8210-4eea4500acd9
spec:
groups:
- name: NetobservEBPFAgentAlerts
rules:
- alert: NetObservAgentFlowsDropped
annotations:
description: NetObserv eBPF agent hashmap table is full, it means that the
eBPF agent is not able to process new flows. Please consider to increase
the hashmap table size.
summary: NetObserv eBPF is not able to process any new flows
expr: sum(rate(netobserv_agent_dropped_flows_total[1m])) == 0
for: 10m
labels:
app: netobserv
severity: warning
|
2a846b5
to
93e1e38
Compare
@msherif1234: This pull request references NETOBSERV-1625 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 story to target the "4.16.0" version, but no target version was set. In 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. |
@msherif1234: This pull request references NETOBSERV-1625 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 story to target the "4.16.0" version, but no target version was set. In 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. |
/ok-to-test |
New images:
They will expire after two weeks. To deploy this build: # Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:77ee9b1 make deploy
# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-77ee9b1 Or as a Catalog Source: apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: netobserv-dev
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-77ee9b1
displayName: NetObserv development catalog
publisher: Me
updateStrategy:
registryPoll:
interval: 1m |
/retest |
1 similar comment
/retest |
Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
93e1e38
to
cf75685
Compare
/ok-to-test |
New images:
They will expire after two weeks. To deploy this build: # Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:76239ae make deploy
# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-76239ae Or as a Catalog Source: apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: netobserv-dev
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-76239ae
displayName: NetObserv development catalog
publisher: Me
updateStrategy:
registryPoll:
interval: 1m |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #632 +/- ##
==========================================
+ Coverage 66.34% 66.42% +0.07%
==========================================
Files 67 67
Lines 7527 7583 +56
==========================================
+ Hits 4994 5037 +43
- Misses 2163 2173 +10
- Partials 370 373 +3
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.
Code looks good ! Thanks @msherif1234
@msherif1234 I deployed the operator bundle included in catalog image , however I don't see the prometheus rule being configured in
|
oh wait, I had ebpf metrics disabled, enabling it now. |
/label qe-approved |
@msherif1234: This pull request references NETOBSERV-1625 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 story to target the "4.16.0" version, but no target version was set. In 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. |
Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
New changes are detected. LGTM label has been removed. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msherif1234 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 |
Description
Add alert for ebpf flows drop to detect when ebpf hash table is full
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.