docs: observability improvement plan#43
Open
simonzg wants to merge 1 commit into
Open
Conversation
Two-change plan to replace the current Prometheus-only pull model: 1. Event-driven webhook notifier for critical state transitions (in/out of committee, epoch change, height stall, peers lost). Fire-and-forget, non-blocking, no-op when unconfigured. 2. OpenTelemetry push export at 2s interval to match block cadence, eliminating missed blocks between Prometheus scrapes. Non-breaking: existing /metrics pull endpoint kept during transition. Also lists 6 new metrics worth adding during the work. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Proposes two independent, non-breaking changes to move beyond the current Prometheus-only pull model.
Change 1 — Event-driven webhook notifier (quick win)
--webhook-urlis not set — zero impact on existing nodesnotifier/package; hooks into existinginCommitteeGauge.Set(...)call sitesChange 2 — OpenTelemetry push at block cadence
RoundInterval) to an OTel Collector/metricspull endpoint kept during transition — non-breakingAlso documents 6 new metrics worth adding (round duration histogram, vote count, p2p bytes, txpool size, block processing time, QC verify time).
Related
qc_verify_duration_mshistogram is relevant there🤖 Generated with Claude Code