1
0
mirror of https://github.com/netsampler/goflow2.git synced 2024-05-06 15:54:52 +00:00

Merge pull request #75 from vincentbernat/fix/counter-type

Fix type for a counter when decoding a template flowset
This commit is contained in:
Louis
2022-03-03 11:03:25 -08:00
committed by GitHub

View File

@ -151,7 +151,7 @@ func (s *StateNetFlow) DecodeFlow(msg interface{}) error {
prometheus.Labels{ prometheus.Labels{
"router": key, "router": key,
"version": "9", "version": "9",
"type": "OptionsTemplateFlowSet", "type": "TemplateFlowSet",
}). }).
Add(float64(len(fsConv.Records))) Add(float64(len(fsConv.Records)))