single bundle metrics

This commit is contained in:
boufni95 2025-02-06 16:15:17 +00:00
parent cebb8559c1
commit c0f137d996
15 changed files with 226 additions and 34 deletions

View file

@ -41,11 +41,17 @@ message LatestUsageMetricReq {
optional int64 limit = 1;
}
message SingleUsageMetricReq {
enum SingleMetricType {
USAGE_METRIC = 0;
BUNDLE_METRIC = 1;
}
message SingleMetricReq {
string app_id = 1;
string metrics_name = 2;
int64 page = 3;
optional int64 request_id = 4;
SingleMetricType metric_type = 4;
optional int64 request_id = 5;
}
message UsageMetric {