Skip to content
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-1688: relax ebpf drop alert [1.6 backport] #675

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

jotak
Copy link
Member

@jotak jotak commented Jun 10, 2024

reformulate some of the text for ebpf drop alert, and relax threshold a little bit.

backport of #674

reformulate some of the text for ebpf drop alert, and
relax threshold a little bit.
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jun 10, 2024

@jotak: This pull request references NETOBSERV-1688 which is a valid jira issue.

In response to this:

reformulate some of the text for ebpf drop alert, and relax threshold a little bit.

backport of #674

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.

On removing test: agent-metrics-test.go did never run; it should have
been named "agent_metrics_test.go" to run (_ instead of -). When
renamed, it actually fails. Given how little value these tests are
adding, I'm removing them rather than spending time to fix them. (they
only check that the objects created names match with the expected
constant)

The controller integration tests cover more and are much more relevant
(and they run)
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.77%. Comparing base (8c0c1eb) to head (bd29816).

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.6     #675      +/-   ##
===============================================
+ Coverage        66.59%   66.77%   +0.18%     
===============================================
  Files               70       69       -1     
  Lines             8110     8088      -22     
===============================================
  Hits              5401     5401              
+ Misses            2315     2293      -22     
  Partials           394      394              
Flag Coverage Δ
unittests 66.77% <100.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
apis/flowcollector/v1beta1/flowcollector_types.go 100.00% <ø> (ø)
apis/flowcollector/v1beta2/flowcollector_types.go 100.00% <ø> (ø)
controllers/ebpf/agent_controller.go 59.64% <ø> (ø)
controllers/ebpf/agent_metrics.go 89.56% <100.00%> (ø)

@jotak jotak requested review from msherif1234 and memodi June 10, 2024 16:39
@memodi
Copy link
Contributor

memodi commented Jun 10, 2024

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jun 10, 2024
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:87c7863
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-87c7863
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-87c7863

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:87c7863 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-87c7863

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-87c7863
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@memodi
Copy link
Contributor

memodi commented Jun 11, 2024

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved QE has approved this pull request label Jun 11, 2024
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jun 11, 2024

@jotak: This pull request references NETOBSERV-1688 which is a valid jira issue.

In response to this:

reformulate some of the text for ebpf drop alert, and relax threshold a little bit.

backport of #674

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.

@memodi memodi mentioned this pull request Jun 11, 2024
10 tasks
@jotak
Copy link
Member Author

jotak commented Jun 11, 2024

/approve

Copy link

openshift-ci bot commented Jun 11, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jotak jotak merged commit 4316b01 into netobserv:release-1.6 Jun 11, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved jira/valid-reference ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. qe-approved QE has approved this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants