Prometheus middleware
It'd be great to have a prometheus middleware to help collect the metrics of hono service data.
You say Prometheus is this? https://prometheus.io
Yes, it would be great if we have metrics of endpoints.
On Mon, May 23, 2022 at 10:34 PM Yusuke Wada @.***> wrote:
You say Prometheus is this? https://prometheus.io
— Reply to this email directly, view it on GitHub https://github.com/honojs/hono/issues/263#issuecomment-1134757059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHUOHQXWG7AZUULXHFS7J3VLOJOPANCNFSM5WULXX7Q . You are receiving this because you authored the thread.Message ID: @.***>
--
Minghe
I think this can be provided as third-party middleware: https://github.com/honojs/hono/blob/main/docs/CONTRIBUTING.md#third-party-middleware
Hey @metrue, I implemented a basic prometheus middleware for hono: https://www.npmjs.com/package/@hono/prometheus If you have any questions / feature requests etc feel free to open an issue in https://github.com/honojs/middleware and tag me
Awesome, thanks @dios-david
I'll try it and let you if I find something.