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

policy: Add stats #995

Merged
merged 1 commit into from
Nov 1, 2024
Merged

policy: Add stats #995

merged 1 commit into from
Nov 1, 2024

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Oct 31, 2024

Add policy stats for number of updates, rejected updates, and update time limit timeouts, as well as a histogram for the update time duration.

Make the update time limit configurable via BfpMetadata filter config, as the policy map is created from there. Default is the same as in Cilium Agent (100ms).

Add policy stats for number of updates, rejected updates, and update time
limit timeouts.

Make the update time limit configurable via BfpMetadata filter config, as
the policy map is created from there. Default is the same as in Cilium
Agent (100ms).

Signed-off-by: Jarno Rajahalme <[email protected]>
@jrajahalme jrajahalme requested a review from a team as a code owner October 31, 2024 09:38
@jrajahalme jrajahalme requested review from mhofstetter and removed request for a team October 31, 2024 09:38
Copy link
Member

@mhofstetter mhofstetter left a comment

Choose a reason for hiding this comment

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

nice 🎉 splitting the two changes into two commits would have given extra points 😄

cilium/network_policy.cc Show resolved Hide resolved
cilium/l7policy.h Show resolved Hide resolved
@jrajahalme jrajahalme added this pull request to the merge queue Nov 1, 2024
Merged via the queue into main with commit 0a83534 Nov 1, 2024
5 checks passed
@jrajahalme jrajahalme deleted the policy-worker-latency-stats branch November 1, 2024 08:47
@sayboras sayboras mentioned this pull request Nov 12, 2024
4 tasks
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.

3 participants