feat(monitoring): add dashboard templates for service metrics#440
Open
ladinoraa wants to merge 1 commit into
Open
feat(monitoring): add dashboard templates for service metrics#440ladinoraa wants to merge 1 commit into
ladinoraa wants to merge 1 commit into
Conversation
…ssnJoy#323) - Add monitoring/grafana-dashboard.json: Grafana dashboard with panels for RPC latency (p50/p95/p99), event polling rate, error rate, active proposals, votes cast, RPC uptime, and event polling lag - Add monitoring/alerts.yml: Prometheus alerting rules for high latency, high error rate, event polling lag, and RPC target down - Add monitoring/README.md: metrics reference table, instructions for connecting dashboards via UI import and provisioning, alert thresholds Closes PrincessnJoy#323
|
@ladinoraa Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #323
Adds a
monitoring/directory with ready-to-use Grafana dashboard and Prometheus alerting rules so operators can get visibility into deployed service health without building dashboards from scratch.Changes
monitoring/grafana-dashboard.jsonGrafana dashboard (schema v38) with 7 panels:
Includes a
networktemplate variable (testnet/mainnet) to filter all panels.monitoring/alerts.ymlPrometheus alerting rules:
HighRpcLatency— p95 > 2 s for 5 min (warning)HighRpcErrorRate— error rate > 5% for 5 min (critical)EventPollingLag— lag > 300 s for 2 min (warning)RpcTargetDown— target unreachable for 1 min (critical)monitoring/README.md