paged single metrics
This commit is contained in:
parent
db3c27c7f2
commit
eadc956c4c
12 changed files with 213 additions and 91 deletions
|
|
@ -172,12 +172,18 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetUsageMetrics(structs.UsageMetricReq) returns (structs.UsageMetrics) {
|
||||
rpc GetUsageMetrics(structs.LatestUsageMetricReq) returns (structs.UsageMetrics) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/reports/usage";
|
||||
option (nostr) = true;
|
||||
}
|
||||
rpc GetSingleUsageMetrics(structs.SingleUsageMetricReq) returns (structs.UsageMetricTlv) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/reports/usage/single";
|
||||
option (nostr) = true;
|
||||
}
|
||||
rpc GetErrorStats(structs.Empty) returns (structs.ErrorStats) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue