silverton-io / buz

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

Add a metrics sink #544

Open jakthom opened 1 year ago

jakthom commented 1 year ago

I think the easiest way to facilitate https://github.com/silverton-io/buz/issues/526 is via a sink that is always on.

The sink should dequeue to a global map[string]interface{} which is then exposed via /metrics using the prom data model