-
Notifications
You must be signed in to change notification settings - Fork 241
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
Monitoring data exposed for cluster? #359
Comments
NuRaft has its own stats defined like this Lines 89 to 96 in 9d7c4cb
and then gathered like this NuRaft/tests/unit/asio_service_test.cxx Lines 2573 to 2580 in 9d7c4cb
but not that many. If you want to export metrics to external components like Prometheus, you can put it in your event callbacks, state machine, or log store code. In eBay, we are reporting Raft-related metrics to Prometheus in that way. |
@greensky00 I see. Thanks for reply. |
@greensky00 The metrics you exported are in project Jungle? i didn't find related code block in repo. want to have an sample. |
Jungle is another building block that is used for implementing log store and state machine. Metrics are defined in the upper layer that is using NuRaft and Jungle as a component, but that is not open-sourced. |
Does Nuraft have any monitoring data exposed to monitor the status of raft quorum? like Prometheus format metrics or some events?
The text was updated successfully, but these errors were encountered: