app metrics
This commit is contained in:
parent
f0dd9a08ac
commit
7e1157caa4
16 changed files with 3056 additions and 2462 deletions
|
|
@ -97,10 +97,16 @@ service LightningPub {
|
|||
option (http_route) = "/api/admin/app/auth";
|
||||
}
|
||||
|
||||
rpc GetMetrics(structs.Empty) returns (structs.UsageMetrics) {
|
||||
rpc GetUsageMetrics(structs.Empty) returns (structs.UsageMetrics) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/admin/metrics";
|
||||
option (http_route) = "/api/admin/metrics/usage";
|
||||
}
|
||||
|
||||
rpc GetAppsMetrics(structs.AppsMetricsRequest) returns (structs.AppsMetrics) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/admin/metrics/apps";
|
||||
}
|
||||
// </Admin>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue