-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update flow model doc #383
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #383 +/- ##
==========================================
- Coverage 57.69% 57.33% -0.37%
==========================================
Files 166 168 +2
Lines 7817 7936 +119
Branches 962 968 +6
==========================================
+ Hits 4510 4550 +40
- Misses 3030 3107 +77
- Partials 277 279 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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
@@ -218,6 +354,14 @@ Timestamp when this flow was received and processed by the flow collector, in se | |||
|
|||
___ | |||
|
|||
### TimeFlowRttNs |
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.
Will RTT be included in the product docs regeneration? 🤔
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.
Yes, every field is present here even if it's feature related. However we may add a mention like *Dev Preview*
in between to clarify it.
web/docs/interfaces/Fields.md
Outdated
|
||
• `Optional` **PktDropPackets**: `number` | ||
|
||
Number of packets dropped by the kernel in this flow |
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.
Number of packets dropped by the kernel in this flow | |
Number of packets dropped by the kernel in a specific flow |
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'm not sure about that: all those fields are related to a given flow, hence the this
. If I read in a specific flow
then I would wonder: which flow are we talking about? Whereas this
is contextual. I think I can just remove the in this flow
part, as it isn't ambiguous anyway.
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.
If the in this flow
part can be removed that may be best because when I read this
I was also wondering which flow is this
? I can see how it may be more clear in context though, like you say.
web/docs/interfaces/Fields.md
Outdated
|
||
• `Optional` **PktDropBytes**: `number` | ||
|
||
Number of bytes dropped by the kernel in this flow |
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.
Number of bytes dropped by the kernel in this flow | |
Number of bytes dropped by the kernel in a specific flow |
web/docs/enums/InterfaceDirection.md
Outdated
|
||
• **Ingress** = ``"0"`` | ||
|
||
Incoming traffic, from network interface observation point |
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.
Incoming traffic, from network interface observation point | |
Incoming traffic, from the network interface observation point |
web/docs/enums/InterfaceDirection.md
Outdated
|
||
• **Egress** = ``"1"`` | ||
|
||
Outgoing traffic, from network interface observation point |
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.
Outgoing traffic, from network interface observation point | |
Outgoing traffic, from the network interface observation point |
web/docs/enums/FlowDirection.md
Outdated
|
||
• **Inner** = ``"2"`` | ||
|
||
Inner traffic, ie. same source and destination node |
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.
Inner traffic, ie. same source and destination node | |
Inner traffic, such as source and destination node |
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.
IBM Style Guide suggests to always use the text "for example" or "such as". Never use the phrase "for instance" or the Latin abbreviations e.g. or i.e. Can we avoid i.e.?
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.
here this isn't an example, but a clarification, so "such as" doesn't work, need to find something else
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.
btw I was wondering if that's "node" or "nodes" here ... bc we say "A and B" so that should be plural, except that A is B so it's singular? :-)
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 left a few comments :)
thanks @skrthomas , PR updated, better like that? |
web/docs/enums/FlowDirection.md
Outdated
|
||
• **Inner** = ``"2"`` | ||
|
||
Inner traffic, with same source and destination node |
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.
Inner traffic, with same source and destination node | |
Inner traffic, with source and destination traffic in the same node |
I think singular node
is what we want here for sure. Alternatively, maybe just this:
Inner traffic, with the same source and destination node
@jotak those updates look good. I left one small note about |
thanks @skrthomas , done! |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jotak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Regenerating netflows model API doc (that's the first step, another PR will follow on operator repo)