Skip to content

Commit

Permalink
Merge pull request #75 from vincentbernat/fix/counter-type
Browse files Browse the repository at this point in the history
Fix type for a counter when decoding a template flowset
  • Loading branch information
lspgn authored Mar 3, 2022
2 parents 7d4c41a + a5fc8ec commit bd480eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/netflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (s *StateNetFlow) DecodeFlow(msg interface{}) error {
prometheus.Labels{
"router": key,
"version": "9",
"type": "OptionsTemplateFlowSet",
"type": "TemplateFlowSet",
}).
Add(float64(len(fsConv.Records)))

Expand Down

0 comments on commit bd480eb

Please sign in to comment.