add alerter endpoints

This commit is contained in:
boufni95 2025-05-14 18:59:00 +00:00
parent 74e6d5b3ca
commit ed6036ce1e
20 changed files with 414 additions and 11 deletions

View file

@ -240,6 +240,19 @@ service LightningPub {
option (http_route) = "/api/metrics/zip";
option (nostr) = true;
}
rpc PingSubProcesses(structs.Empty) returns (structs.Empty) {
option (auth_type) = "Metrics";
option (http_method) = "post";
option (http_route) = "/api/metrics/ping";
option (nostr) = true;
}
rpc GetProvidersDisruption(structs.Empty) returns (structs.ProvidersDisruption) {
option (auth_type) = "Metrics";
option (http_method) = "post";
option (http_route) = "/api/metrics/providers/disruption";
option (nostr) = true;
}
rpc ResetMetricsStorages(structs.Empty) returns (structs.Empty) {
option (auth_type) = "Metrics";