Open
Description
Pktvisor version
pktvisor 4.5.0
Platform
binary
Agent configuration
version: "1.0"
visor:
config:
verbose: true
taps:
my_flow_tap:
input_type: flow
config:
port: 6343
bind: 192.168.0.1
flow_type: netflow
tags:
flow: true
# optionally define policies
policies:
default:
input:
input_type: flow
tap: my_flow_tap
kind: collection
handlers:
modules:
flow_advanced:
config:
summarize_ips_by_asn: true
exclude_unknown_asns_from_summarization: true
exclude_asns_from_summarization:
- 65000
type: flow
metric_groups:
enable:
- counters
- by_bytes
- top_ports
- top_ips
disable:
- all
Steps to reproduce
- Send data to the server, the router MUST send flow data for multiple interfaces;
- Collect data using http://127.0.0.1:10853/metrics/
Expected output
Only one entry TYPE for each metric, as https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md?plain=1#L527
Current Output
The api is returning one TYPE output for each interface, example metric:
# HELP flow_top_out_dst_ports_bytes Top out destination ports by bytes
# TYPE flow_top_out_dst_ports_bytes gauge
Metadata
Metadata
Assignees
Labels
No labels