Skip to content
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

Report message handling metrics #103

Closed
danielwitz opened this issue Jul 21, 2019 · 1 comment
Closed

Report message handling metrics #103

danielwitz opened this issue Jul 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@danielwitz
Copy link
Contributor

danielwitz commented Jul 21, 2019

As for now we don't have any visibility over handling messages which is one of the key feature of grabbit.

I would like a way to gather metrics for successes and failures count of handlers and of rejected messages (I think prometheus is the best way to report these metrics).

In this PR I've added an integration with prometheus and started to report the following metrics:

  • Result counter of every run of a handler (command and events and both for the message and saga handlers) with a label for success or failure.
  • Latency summary of every run of the handlers.
  • Rejected messages counter - counts the total rejected messages
@danielwitz
Copy link
Contributor Author

Relates to this PR

@rhinof rhinof added the enhancement New feature or request label Jul 22, 2019
@rhinof rhinof closed this as completed Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants