compress metrics

This commit is contained in:
boufni95 2024-12-18 15:52:47 +00:00
parent 93af9969ed
commit e055444a5c
6 changed files with 205 additions and 32 deletions

View file

@ -29,10 +29,20 @@ message UsageMetric {
bool batch = 7;
bool nostr = 8;
int64 batch_size = 9;
bool success = 10;
optional string app_id = 11;
}
message UsageMetricTlv {
repeated string base_64_tlvs = 1;
}
message AppUsageMetrics {
map<string,UsageMetricTlv> app_metrics = 1;
}
message UsageMetrics {
repeated UsageMetric metrics = 1;
map<string,AppUsageMetrics> apps = 1;
}
message AppsMetricsRequest {