goflow2 icon indicating copy to clipboard operation
goflow2 copied to clipboard

Metrics count error for `flow_process_nf_total`

Open bpereto opened this issue 4 months ago • 0 comments

Describe the bug I was confused about the latest total processed flow counts - if I interpreting it right, the metric of flow_process_nf_total is counted double for v9 and v10:

https://github.com/netsampler/goflow2/blob/ee095a980f28a9cd9b478e12b9ff7d41ba533762/metrics/producer.go#L106

and in the recordCommonNetFlowMetrics function: https://github.com/netsampler/goflow2/blob/ee095a980f28a9cd9b478e12b9ff7d41ba533762/metrics/decoder.go#L89

#287 should fix it.

GoFlow2:

  • Version: [e.g. v2.1.2]

bpereto avatar Feb 08 '24 10:02 bpereto