reset metrics b4 stress test and export after

This commit is contained in:
boufni95 2025-04-10 16:47:26 +00:00
parent f2445dd850
commit 67c1260748
22 changed files with 1241 additions and 34 deletions

View file

@ -234,6 +234,20 @@ service LightningPub {
option (nostr) = true;
}
rpc ZipMetricsStorages(structs.Empty) returns (structs.ZippedMetrics) {
option (auth_type) = "Admin";
option (http_method) = "post";
option (http_route) = "/api/admin/metrics/zip";
option (nostr) = true;
}
rpc ResetMetricsStorages(structs.Empty) returns (structs.Empty) {
option (auth_type) = "Admin";
option (http_method) = "post";
option (http_route) = "/api/admin/metrics/reset";
option (nostr) = true;
}
rpc CreateOneTimeInviteLink(structs.CreateOneTimeInviteLinkRequest) returns (structs.CreateOneTimeInviteLinkResponse) {
option (auth_type) = "Admin";
option (http_method) = "post";