mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
The four external-parity bounds checks each ran a single Prometheus instant query and failed on an empty result. The metric checks that run earlier poll /api/v1/series, which returns a series regardless of staleness, but a bounds check needs the sample value and so cannot use that endpoint. This file's own docstring records the consequence: a beast::insight gauge that stops changing can fall out of an instant query while /api/v1/series still returns it, so one attempt is not enough to call the series absent. Poll to the same deadline the metric checks use. A Prometheus error is raised rather than retried, because a rejected query never becomes valid and retrying it only burns the full timeout.