Closed wvanbergen closed 4 years ago
Delegate the decision whether to sample a metric to the sink. This allows us to sink to determine whether it wants to see the packet.
NullSink
LogSink
CaptureSink
UDPSink
rand()
This will allow us to use capture to capture packets like the old client.
capture
Delegate the decision whether to sample a metric to the sink. This allows us to sink to determine whether it wants to see the packet.
NullSink
: neverLogSink
: alwaysCaptureSink
: alwaysUDPSink
: implement actual sampling usingrand()
This will allow us to use
capture
to capture packets like the old client.