silverton-io / buz

Serverless multi-protocol + multi-destination event collection system.
https://buz.dev/
Apache License 2.0
186 stars 21 forks source link

Prometheus metrics endpoint #526

Open bufferoverflow opened 1 year ago

bufferoverflow commented 1 year ago

Would be cool the have Prometheus metrics served via /metrics to provide insights, e.g. number of webhooks processed etc.

jakthom commented 1 year ago

@bufferoverflow out of curiosity, what does your ideal deployment look like? I went this route early on, but when deploying into an environment with varying #'s of transient buz instances (gcp cloud run, lambda, etc) it provided limited value (since it was a large # of small instances).

bufferoverflow commented 1 year ago

Right now we plan to use buz as webhook receiver for GitLab System Hooks, see also https://gitlab.com/gitlab-org/gitlab/-/merge_requests/118616 to make it work smooth in combination with buz. To monitor /health is helpful but as we use Prometheus all over it would be cool to also get insights on buz running on the machine.

jakthom commented 1 year ago

Sweet, makes perfect sense! Thanks for the insight.