Monitor and status
Check whether a source is up, and how it has been performing, before relying on it in an automated job.
//JAVA 25+
//DEPS com.github.nbbrd.sdmx-dl:sdmx-dl-standalone:3.2.0
import sdmxdl.web.SdmxWebManager;
void main() throws Exception {
SdmxWebManager manager = SdmxWebManager.ofServiceLoader();
IO.println(manager.getMonitorReport("ECB"));
}
sdmx-dl check status ECB
check status also accepts several sources at once, or the keyword all to check every configured source in parallel:
sdmx-dl check status ECB IMF INSEE
sdmx-dl check status all
curl "localhost:4559/sdmx-dl/v2/statuses?sources=ECB"
ListStatuses also accepts several comma-separated sources, or all to check every configured source:
curl "localhost:4559/sdmx-dl/v2/statuses?sources=ECB,IMF,INSEE"
curl "localhost:4559/sdmx-dl/v2/statuses?sources=all"
grpcurl -d '{"sources":["ECB"]}' -plaintext localhost:4557 sdmxdl.grpc.v2.SdmxWebManager.ListStatuses
- A report includes a status (UP/DOWN/UNKNOWN), an uptime ratio, and an average response time; the CLI table adds an error message column when a check fails.
- Only sources that declare a monitor endpoint in their configuration can be checked; others report “No monitor defined”.
- WS’s
ListStatusesmirrors the CLI’s ability to batch-check several sources (orall) in a single call, instead of one request per source.