You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a documentation issue. I found that adding new per-request or per-job metrics is a bit annoying because:
A custom collector needs to be added to pick up the new metrics.
In the web case, the Middleware might be extended, or a new one created to send the new metrics
In the job case, this is even worse because delayed_job (what I use) creates a dynamic class so there is no way to extend it, a new plugin is needed.
Ideally one would be able to register new metrics declaratively, and "attach" them to the current context somehow. This way the labels the default plugins use get used as well for the new metrics.
If given some guidance on how to best approach this, I'm happy to take a stab at implementing (or documenting if this is already possible)
The text was updated successfully, but these errors were encountered:
Hi!
Thanks for this awesome gem.
This may be a documentation issue. I found that adding new per-request or per-job metrics is a bit annoying because:
Ideally one would be able to register new metrics declaratively, and "attach" them to the current context somehow. This way the labels the default plugins use get used as well for the new metrics.
If given some guidance on how to best approach this, I'm happy to take a stab at implementing (or documenting if this is already possible)
The text was updated successfully, but these errors were encountered: