Skip to content

Conversation

@terassyi
Copy link
Contributor

@terassyi terassyi commented May 29, 2025

This PR is a follow up PR of #329.

We introduce following metrics.

  • coil_egress_nftables_invalid_packets_total
  • coil_egress_nftables_invalid_bytes_total

Signed-off-by: terashima tomoya-terashima@cybozu.co.jp

@terassyi terassyi self-assigned this May 29, 2025
Signed-off-by: terashima <tomoya-terashima@cybozu.co.jp>
@terassyi terassyi force-pushed the add-egress-metrics-for-invalid-packets branch from 91d770f to 9e6ffaf Compare June 3, 2025 00:37
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
@terassyi terassyi requested a review from yokaze June 5, 2025 05:56
@terassyi terassyi marked this pull request as ready for review June 5, 2025 07:43
Copy link
Contributor

@yokaze yokaze left a comment

Choose a reason for hiding this comment

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

Document looks missing in cmd-coil-egress.md, please add them 🙇
Is it OK to skip testing for these metrics?

Signed-off-by: terashima <terashima-tomoya@cybozu.co.jp>
@terassyi
Copy link
Contributor Author

@yokaze

I've added the document.

About tests, we don't have any tests for ergess pod's metrics now.
I confirmed that I got these metrics in my local.
It's good to add metrics test, but it might be difficult to generate invalid packets for test.

@terassyi terassyi requested a review from yokaze June 10, 2025 08:41
Copy link
Contributor

@yokaze yokaze left a comment

Choose a reason for hiding this comment

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

LGTM

@terassyi terassyi merged commit 7d0307a into main Jun 11, 2025
29 checks passed
@terassyi terassyi deleted the add-egress-metrics-for-invalid-packets branch June 11, 2025 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants