Closed GiedriusS closed 6 years ago
To be honest thats weird idea. Why would you expect simple command line tool to hold HTTP server to just output metrics?
Also not sure what kind of metrics you are expecting? Number of changed files?
If you really need it - you can implement that by simple wrapper.
Hi @GiedriusS,
I think this should be orthogonal to fswatch
. You should be able to get what you need by sending fswatch
output to some process that gathers data and gets what you need. A quick way to go could be an ELK stack (https://www.elastic.co/) to ingest data and continue from there. It's almost trivial to set up using containers.
I'm closing this, and feel free to update it if you have more information.
It would be very useful to have some kind of metrics exposed to Prometheus and other monitoring systems through a simple HTTP server which serves
/metrics
infswatch
. Please consider adding such feature tofswatch
.