From a5fc8ecfb65394259d1a9e974dcb969a392b6739 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 3 Mar 2022 19:45:34 +0100 Subject: [PATCH] Fix type for a counter when decoding a template flowset --- utils/netflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/netflow.go b/utils/netflow.go index 39ce8f89..88a127e9 100644 --- a/utils/netflow.go +++ b/utils/netflow.go @@ -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)))