adapty 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/asa/metrics/index.js +6 -3
- package/oclif.manifest.json +514 -514
- package/package.json +1 -1
|
@@ -8,9 +8,12 @@ export default class AsaMetrics extends Command {
|
|
|
8
8
|
|
|
9
9
|
One row per entity, already aggregated server-side and sorted by --order-by, so a top-N question is one
|
|
10
10
|
call with --order-by and --page-size N — never sum pages yourself. Account-level totals are one call to
|
|
11
|
-
asa metrics overview instead. The date window is capped by the
|
|
12
|
-
day
|
|
13
|
-
grouping, not by splitting into more calls.
|
|
11
|
+
asa metrics overview instead. The date window is capped by the finest --group-by period: 28 days when
|
|
12
|
+
day is grouped, 90 with no period grouping, 180 by week, 365 by month and coarser — widen the window by
|
|
13
|
+
coarsening the grouping, not by splitting into more calls. Each page is also capped at 20000 breakdown
|
|
14
|
+
rows (entities × countries × periods); over it the call fails with 422 cli_response_too_large — coarsen
|
|
15
|
+
the grouping, narrow the window, or reduce page[size]. Budget: 5 metrics calls per minute, at most
|
|
16
|
+
2 per 10 seconds, one at a time.`;
|
|
14
17
|
static enableJsonFlag = true;
|
|
15
18
|
static examples = [
|
|
16
19
|
'<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31',
|