When sampling is enabled, we might miss important events such as establishment and termination of TCP connections.
It may be useful to add a setting that makes the agent always sending flows that contain specific TCP flags (e.g. SYN, FIN).
This will make sure that no connection will be missed.
Cons:
- This makes it trickier to normalize the bytes/packets counters (multiplying counters by sampling rate)
- If the cluster is flooded with short connections, then most flows will contain the SYN or FIN flags. This makes the sampling ineffective.
cc: @eranra @jotak @praveingk @shach33
When sampling is enabled, we might miss important events such as establishment and termination of TCP connections.
It may be useful to add a setting that makes the agent always sending flows that contain specific TCP flags (e.g. SYN, FIN).
This will make sure that no connection will be missed.
Cons:
cc: @eranra @jotak @praveingk @shach33