Sample NodeJS application exposing Peafowl DPI detections as Prometheus metrics endpoint
Edit the details in config.js
to configure the parameters
{
"port": 3000,
"host": "0.0.0.0",
"endpoint": "/metrics",
"interface":"eth0",
"bpf":""
};
# HELP dpi_gauge DPI Protocol Detections
# TYPE dpi_gauge gauge
dpi_gauge{L7="Unknown"} 9
dpi_gauge{L7="SIP"} 4
dpi_gauge{L7="SSH"} 18