-
Notifications
You must be signed in to change notification settings - Fork 108
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
Network metrics: report client and server port #1015
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1015 +/- ##
==========================================
- Coverage 80.30% 76.41% -3.90%
==========================================
Files 137 137
Lines 10953 10980 +27
==========================================
- Hits 8796 8390 -406
- Misses 1675 2081 +406
- Partials 482 509 +27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -89,7 +89,7 @@ spec: | |||
- name: BEYLA_NETWORK_METRICS | |||
value: "true" | |||
- name: BEYLA_NETWORK_SOURCE | |||
value: "socket_filter" | |||
value: "tc" |
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.
Socket filter is now the default source, so we didn't have TC tests.
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.
LGTM! Amazing.
For network metrics, this patch tracks which IP:port initiated the connection, then Beyla is able to reconstruct the newly added
client_port
andserver_port
metric attributes.