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

new(tests,pkg,action): added 2 new tests around prometheus metrics. #59

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented May 31, 2024

We have a new dep on the dummy plugin (that gets automatically installed by composite action), because we use it to test that prometheus metrics are not killing Falco (-> falcosecurity/falco#3229).

We have also a new test (TestFalco_Miscs_PrometheusMetricsNoDriver) to test prometheus metrics in normal Falco run (in nodriver mode).

/cc @jasondellaluce @leogr

@FedeDP
Copy link
Contributor Author

FedeDP commented May 31, 2024

I tested that against Falco 0.38.0, the TestDummy_PrometheusMetrics test fails while against my local branch one it succeed.

/hold for (eventual) discussion

Signed-off-by: Federico Di Pierro <[email protected]>
Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Let's keep this on hold until we get a second opinion and the fix has been merged into Falco's master branch.

@FedeDP
Copy link
Contributor Author

FedeDP commented Jun 3, 2024

New Falco master will fix this; wait for Falco CI to publish new artifacts before re-running the test here.

@FedeDP
Copy link
Contributor Author

FedeDP commented Jun 3, 2024

Yep green now :)

@FedeDP
Copy link
Contributor Author

FedeDP commented Jun 4, 2024

cc @jasondellaluce does everything LGTY?

@poiana
Copy link

poiana commented Jun 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, jasondellaluce, leogr

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:
  • OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@FedeDP
Copy link
Contributor Author

FedeDP commented Jun 4, 2024

/unhold

@poiana poiana merged commit d18b516 into falcosecurity:main Jun 4, 2024
3 checks passed
@FedeDP FedeDP deleted the new/prometheus_metrics_plugin branch June 4, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants