docs/ops: fix Prometheus metrics scrape ports - #242
Conversation
ac03c3d to
c790322
Compare
|
Verified this against Execution — correct ✅
Consensus — incorrect ❌Consensus does not use a // crates/quake/src/node.rs:442
consensus: ConsensusContainer::new_local(name, subnet_indexes, index, index),So That's confirmed downstream by how the ports are actually published to the host — the compose template maps the host port straight onto the fixed container port: Prometheus scrapes those same host ports ( Net: the consensus targets were already correct at Side note (optional)
|
Summary
Fix Prometheus scrape target ports in
deployments/monitoring/config-prometheus/prometheus.ymlto match Quake localdev metrics port offsets.Issue
Related to #51 (addresses only the Prometheus scrape-port portion — issue #51 bundles several other unrelated problems that remain unfixed).
Change
Corrected execution scrape target ports (9001, 9101, 9201, 9301, 9401) and consensus scrape target ports (29000, 29100, 29200, 29300, 29400) in
deployments/monitoring/config-prometheus/prometheus.ymlto align with the port allocation logic incrates/quake/src/node.rs(RETH_METRICS_BASE_PORT9001 + node_index * 100;APP_METRICS_BASE_PORT29000 + node_index * 100).Verification
crates/quake/src/node.rs, not by an actual running Prometheus instance (Docker runtime not available in local session environment).Known pre-existing issues (unrelated to this change)
3 arc-test-integration multi-node tests fail locally with timeouts, believed environment-related (see brief §3); unrelated to this change; not cross-checked against upstream CI.