feat(node): expose foreign-chain RPC provider health metric - #3849
Draft
haiyuechen-nearone wants to merge 1 commit into
Draft
feat(node): expose foreign-chain RPC provider health metric#3849haiyuechen-nearone wants to merge 1 commit into
haiyuechen-nearone wants to merge 1 commit into
Conversation
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 17, 2026 08:03
c2645f8 to
420b59d
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
2 times, most recently
from
July 17, 2026 08:23
e9e4b81 to
4eeed22
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
2 times, most recently
from
July 17, 2026 08:35
56ea9d2 to
0e54756
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 17, 2026 08:35
4eeed22 to
8cdfbfa
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 20, 2026 09:57
0e54756 to
e1eb9d4
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 20, 2026 11:02
36e439e to
7df70d0
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 20, 2026 11:05
e1eb9d4 to
d1cf5a8
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 20, 2026 11:19
7df70d0 to
f2aadc2
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 20, 2026 11:19
d1cf5a8 to
94b2bab
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 20, 2026 16:28
f2aadc2 to
a560733
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
2 times, most recently
from
July 20, 2026 16:47
318ecc3 to
1b3e1e6
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
2 times, most recently
from
July 20, 2026 16:55
03ef050 to
c42c075
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 20, 2026 16:55
1b3e1e6 to
214d78d
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 20, 2026 17:09
c42c075 to
a2805eb
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 20, 2026 17:09
214d78d to
a30098d
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
2 times, most recently
from
July 21, 2026 09:24
30c77ea to
208c837
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 21, 2026 09:27
a30098d to
e3328e2
Compare
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 21, 2026 11:30
208c837 to
7958f4b
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
3 times, most recently
from
July 22, 2026 13:18
287686c to
938f549
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
4 times, most recently
from
July 22, 2026 14:46
a0bb5de to
a327d7a
Compare
haiyuechen-nearone
marked this pull request as ready for review
July 22, 2026 14:51
Pull request overviewPublishes two per-chain Prometheus gauges from the foreign-chain startup health check — Changes:
Reviewed changesPer-file summary
FindingsNo blocking issues. Non-blocking (suggestions/follow-ups):
✅ Approved |
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
4 times, most recently
from
July 22, 2026 17:47
996daa8 to
e7a8755
Compare
Contributor
Author
haiyuechen-nearone
marked this pull request as draft
July 23, 2026 08:19
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 27, 2026 16:35
485eb48 to
315514c
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 27, 2026 16:35
e7a8755 to
3798e3d
Compare
Publish two per-chain Prometheus gauges from the startup probe: `mpc_foreign_chain_rpc_providers_configured` (set up front for every configured chain) and `mpc_foreign_chain_rpc_providers_healthy` (providers that passed the identity probe). A configured chain with no identity reads as 0/N. Adds `ForeignChain::label()` as the single source of the snake_case chain label shared by config keys, metric labels, and health-check result keys.
haiyuechen-nearone
force-pushed
the
3764-node-startup-health-check
branch
from
July 30, 2026 19:23
315514c to
748639d
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-metric
branch
from
July 30, 2026 19:23
3798e3d to
61a7d6f
Compare
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.
Part of #3764. Stacked on #3848, merge bottom-up:
configured/healthyPrometheus gauges/debug/node_configPublishes two per-chain gauges from the startup probe:
mpc_foreign_chain_rpc_providers_configured(set up front for every configured chain) andmpc_foreign_chain_rpc_providers_healthy(providers that passed the identity probe). A configured chain with no identity reads as0/N.Adds
ForeignChain::label()as the single source of the snake_case chain label shared by config keys, metric labels, and health-check result keys.