-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/sflow input module #187
Conversation
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.
also:
- README
- docker/* changes
- GitHub CI changes
} | ||
|
||
if (sample.ifCounters.ifDirection == DIRECTION::IN) { | ||
++_counters.total_in; |
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 believe we'd need to not just ++
but +=
the amount of packets that the sample saw - it's almost definitely not just one?
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.
ifDirection is a enum
src/inputs/sflow/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
# Sflow Stream Input | |||
|
|||
This directory contains a sflow/example stream input tap, suitable only for testing. |
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.
This directory contains the sflow input tap
No description provided.