moby / vpnkit

A toolkit for embedding VPN capabilities in your application
Apache License 2.0
1.09k stars 182 forks source link

Export stats to a time-series database #17

Open djs55 opened 8 years ago

djs55 commented 8 years ago

Since we're on the network data path we can measure the traffic as it passes through. We could measure

This data could be sent to an external time-series database such as influxdb and then visualised.

This involves

errordeveloper commented 7 years ago

From Prometheus it's really quite simple, you'd only need to expose and HTTP /metrics endpoint, see docs about format.

samoht commented 7 years ago

@djs55 have you seen https://github.com/mirage/prometheus ?

dave-tucker commented 7 years ago

Note: It's already being used in DatakitCI courtesy of https://github.com/mirage/prometheus