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:
@ -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)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user