-
Notifications
You must be signed in to change notification settings - Fork 216
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
feat(conntrack-metrics): legacy control plane basic mode #1253
base: main
Are you sure you want to change the base?
Conversation
3fa4154
to
bcc9773
Compare
@@ -43,6 +43,13 @@ const ( | |||
// Control plane metrics | |||
pluginManagerFailedToReconcileCounterDescription = "Number of times the plugin manager failed to reconcile the plugins" | |||
lostEventsCounterDescription = "Number of events lost in control plane" | |||
|
|||
// Conntrack metrics | |||
ConntrackPacketForwardDescription = "Number of forward packets" |
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.
forward or forwarded?
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.
I think we should use ‘forward’ since in this context we refer to ‘direction’ more than ‘action’. We also want to be consistent with the actual metrics implementation in BPF, which uses 'forward' and 'reply'.
packets_*_count indicates the number of packets sent and received in the forward and reply direction. |
Description
Initial implementation of conntrack metrics for the legacy control plane in basic mode. The aggregation is at the node level, which makes the metric bounded.
Metrics:
Related Issue
fixes #1190
Checklist
git commit -S -s ...
). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
Bytes reply
Total connections metric
Additional Notes
Add any additional notes or context about the pull request here.
Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.