-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Prometheus-style metrics #296
Comments
Already handled by the prometheus client library, as |
Well this is a fun one. The underlying a75cb6a adds code to export this on a bridge-wide basis, counting all the users across all domains, as the bridge-standard metric of |
Having IRL'ed this with @kegsay as to the intention of it, it seems it can be dropped. The intention is to measure the rate of outbound join and part requests the bridge makes to IRC and Matrix. On the Matrix side we already have the |
These are supposed to track the total "end-to-end" lag of events within the bridge. The main bridge library doesn't have a direct equivalent for these yet, but they'd also be useful to add generally - gitter and slack can make equally-good use of it. However... This metric is a Histogram, and the prometheus library we're currently using ( |
We now have
|
Commit 9dc1980 now adds request duration timer support, using @kegsay - do you want a PR now then, for the work so far? Currently all I've done is export the same things that the statsd-related code does, in Prometheus style. I'd still like to get some of the other metrics (like the bridge gauges) working at some point. |
Yes please. Send me a PR and then do another one for the extra stuff. Thanks! |
We have feature parity now with statsd, any more is just bonus material. This issue is done. |
(This is somewhat of a notes-to-self whiteboard to keep track of work on https://github.com/matrix-org/matrix-appservice-irc/tree/paul/metrics)
In particular, as well as adding whatever the bridge library has, it would be nice to preserve the values of the current statsd-based reporting. The four variables are:
The text was updated successfully, but these errors were encountered: