milesmcc / shynet

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Apache License 2.0
2.89k stars 182 forks source link

Expose metrics to prometheus #39

Open paulfantom opened 4 years ago

paulfantom commented 4 years ago

I believe it would be beneficial to instrument shynet with prometheus metrics as well as expose data collected by shynet in prometheus format. This would provide two benefits:

I propose prometheus exposition format as there is already an official python library and format is on the path to becoming an RFC standard (under the name of OpenMetrics).

milesmcc commented 4 years ago

Standardizing some kind of remote integration/export format (if I'm understanding this correctly) would be a great addition. Adding it to the roadmap for v1.0.