-
Notifications
You must be signed in to change notification settings - Fork 247
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
Collect Whisper metrics in MailServer #536
Comments
Would prometheus be viable for metrics gathering? |
I plan to write a simple abstraction or use https://github.com/go-kit/kit/tree/master/metrics in order to support multiple collectors. One huge disadvantage of Prometheus, on the other hand, has labels support built-in and provides much better integration with tools like Grafana. Another thing to consider is server vs mobile node. It's ok to use Prometheus in the server node but it does not really make sense to use it in the mobile nodes. Thanks to the mentioned abstraction, we can select a proper tool depending on a use case. |
When you speak of abstraction, you mean you just plan to write an interface and wrap prometheus/other to implement it? |
Mainly just looking to do some PRs, this is one around my ballpark is why I shot the comment out. If it's claimed I'll lurk for another. |
Done in #558 |
Problem
We'd like to collect some Whisper metrics to assess Status usage. E.g. we'd like to see a consistent increase in the number of exchanged messages.
Implementation
Add metrics to
wnode-status
that runs as a MailServer. #523 has some initial work on gathering peers info that can be useful.Acceptance Criteria
Notes
Bear in mind that these metrics must be easy to visualize with Grafana.
It's part of status-im/swarms#68
The text was updated successfully, but these errors were encountered: