I’ve been investigating telemetry as it’s seems the right approach, but haven’t found anything about it.
So it’s easy to implement a counter, but how about a performance metric, like processed messages per sec?
It’s not just to +1 on a function call, but maintaining on a time window.