diff --git a/webui/mock/README.md b/webui/mock/README.md index 07fd5e3..99753ce 100644 --- a/webui/mock/README.md +++ b/webui/mock/README.md @@ -1,3 +1,3 @@ # Mock admin API fixtures -`fixtures/*.json` are anonymised GET responses captured from a live gateway admin API (`/admin/api/*`) at 2026-11-25T01:01:07Z, trimmed to one fixture per distinct path and query shape (at most 3 scope variants), plus every `400 range too large` response and the empty-rows examples. User names are replaced by `user-NN` and service identities by `service-NN`; hosts, addresses and keys are removed. `manifest.json` maps each fixture file to its `path`, `query` and `status`. `src/lib/mock-leak-scan.spec.ts` fails if a fixture holds a term from `leak-terms.ts`; set `LEAK_SCAN_EXTRA_TERMS` (comma-separated) to add the original names locally. To re-capture, run the GET-only capture and anonymise scripts against a running gateway with an admin key (never print the key), then re-apply the trimming rule and re-run the leak scan. +`fixtures/*.json` are anonymised GET responses captured from a live gateway admin API (`/admin/api/*`) at 2026-11-25T01:01:07Z, trimmed to one fixture per distinct path and query shape, where window and span are part of the shape (at most 2 scope variants, 1 for multi-scope series), plus every `400 range too large` response and the empty-rows examples. User names are replaced by `user-NN` and service identities by `service-NN`; hosts, addresses and keys are removed. `manifest.json` maps each fixture file to its `path`, `query` and `status`. `src/lib/mock-leak-scan.spec.ts` fails if a fixture holds a term from `leak-terms.ts`; set `LEAK_SCAN_EXTRA_TERMS` (comma-separated) to add the original names locally. To re-capture, run the GET-only capture and anonymise scripts against a running gateway with an admin key (never print the key), then run `node webui/mock/tools/trim-fixtures.mjs webui/mock` (set `MAX_VARIANTS` to change the variant cap) and re-run the leak scan. diff --git a/webui/mock/fixtures/performance__kind-model_window-day_span-30.json b/webui/mock/fixtures/performance__kind-model_window-day_span-30.json new file mode 100644 index 0000000..2a38342 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-model_window-day_span-30.json @@ -0,0 +1,306 @@ +{ + "kind": "model", + "window": "day", + "rows": [ + { + "p50Ms": 50.05281103516099, + "p95Ms": 95.10034096680587, + "p99Ms": 99.10456584961877, + "ttfbP50Ms": 50.046011327358066, + "ttfbP95Ms": 95.08742152198033, + "id": "uni/text-embedding-multilingual-e5-base", + "count": 618895, + "attempts": 619939, + "failures": 0 + }, + { + "p50Ms": 6757.556675062971, + "p95Ms": 53531.25, + "p99Ms": 254075.5813953483, + "ttfbP50Ms": 173.16295926018495, + "ttfbP95Ms": 23859.494884910488, + "id": "uni/deepseek-v4-flash-0731", + "count": 23165, + "attempts": 23704, + "failures": 173 + }, + { + "p50Ms": 4472.991272946133, + "p95Ms": 123392.61744966413, + "p99Ms": 282235.57046979875, + "ttfbP50Ms": 280.8122790941223, + "ttfbP95Ms": 972.8289188015628, + "id": "uni/deepseek-v4.1-flash-1017", + "count": 19723, + "attempts": 19873, + "failures": 108 + }, + { + "p50Ms": 1721.388888888889, + "p95Ms": 10630.34188034188, + "p99Ms": 26715.27777777783, + "ttfbP50Ms": 815.6504678539088, + "ttfbP95Ms": 3723.684210526316, + "id": "uni/glm-5.3-flash", + "count": 4665, + "attempts": 4678, + "failures": 2 + }, + { + "p50Ms": 9978.902953586497, + "p95Ms": 260495.0495049505, + "p99Ms": 492711.86440678017, + "ttfbP50Ms": 1984.0972871842844, + "ttfbP95Ms": 236860.46511627908, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "count": 2610, + "attempts": 2742, + "failures": 3 + }, + { + "p50Ms": 1497.1537001897532, + "p95Ms": 43714.285714285696, + "p99Ms": 161471.9999999999, + "ttfbP50Ms": 1282.918149466192, + "ttfbP95Ms": 14727.272727272715, + "id": "minimax/MiniMax-M3", + "count": 1924, + "attempts": 1937, + "failures": 11 + }, + { + "p50Ms": 4823.033707865169, + "p95Ms": 184403.66972477065, + "p99Ms": 279522.9357798164, + "ttfbP50Ms": 211.21673003802283, + "ttfbP95Ms": 668.3673469387755, + "id": "uni/qwen3.8-flash-next", + "count": 1440, + "attempts": 1472, + "failures": 26 + }, + { + "p50Ms": 3396.643109540636, + "p95Ms": 19459.090909090883, + "p99Ms": 50449.99999999997, + "ttfbP50Ms": 1319.0709046454767, + "ttfbP95Ms": 4993.389830508473, + "id": "minimax/MiniMax-M3.1-Flash", + "count": 1273, + "attempts": 1413, + "failures": 132 + }, + { + "p50Ms": 6582.125603864734, + "p95Ms": 28017.857142857116, + "p99Ms": 55934.99999999994, + "ttfbP50Ms": 3391.238670694864, + "ttfbP95Ms": 8972.499999999996, + "id": "alibaba/deepseek-v4.1-flash-1017", + "count": 571, + "attempts": 937, + "failures": 366 + }, + { + "p50Ms": 39642.857142857145, + "p95Ms": 401666.66666666657, + "p99Ms": 573666.6666666665, + "ttfbP50Ms": 4595.505617977528, + "ttfbP95Ms": 12699.999999999998, + "id": "gx10/Qwen3.8-27B", + "count": 258, + "attempts": 260, + "failures": 0 + }, + { + "p50Ms": 17812.5, + "p95Ms": 54500, + "p99Ms": 86000.00000000023, + "ttfbP50Ms": 17812.5, + "ttfbP95Ms": 54500, + "id": "openai/gpt-5.5", + "count": 170, + "attempts": 180, + "failures": 0 + }, + { + "p50Ms": 293.60465116279073, + "p95Ms": 7854.166666666664, + "p99Ms": 9570.833333333332, + "ttfbP50Ms": 224.21875, + "ttfbP95Ms": 7854.166666666664, + "id": "uni/qwen3.8-27b", + "count": 103, + "attempts": 110, + "failures": 6 + }, + { + "p50Ms": 600, + "p95Ms": 4799.999999999999, + "p99Ms": 51599.99999999996, + "ttfbP50Ms": 500, + "ttfbP95Ms": 4299.999999999999, + "id": "uni/model-fast", + "count": 28, + "attempts": 37, + "failures": 8 + }, + { + "p50Ms": 1222.2222222222224, + "p95Ms": 4849.999999999998, + "p99Ms": 8799.99999999999, + "ttfbP50Ms": 1125, + "ttfbP95Ms": 4849.999999999998, + "id": "minimax/MiniMax-M2.5-highspeed", + "count": 24, + "attempts": 24, + "failures": 0 + }, + { + "p50Ms": 1277.7777777777776, + "p95Ms": 4309.999999999999, + "p99Ms": 4862, + "ttfbP50Ms": 1277.7777777777776, + "ttfbP95Ms": 4309.999999999999, + "id": "minimax/MiniMax-M2.7", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1071.4285714285713, + "p95Ms": 4887.499999999998, + "p99Ms": 8849.999999999998, + "ttfbP50Ms": 1071.4285714285713, + "ttfbP95Ms": 4887.499999999998, + "id": "minimax/MiniMax-M2.7-highspeed", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1333.3333333333333, + "p95Ms": 4633.333333333333, + "p99Ms": 4926.666666666668, + "ttfbP50Ms": 1333.3333333333333, + "ttfbP95Ms": 4633.333333333333, + "id": "minimax/MiniMax-M2.5", + "count": 22, + "attempts": 22, + "failures": 0 + }, + { + "p50Ms": 5000, + "p95Ms": 23999.999999999993, + "p99Ms": 28799.999999999996, + "ttfbP50Ms": 5000, + "ttfbP95Ms": 23999.999999999993, + "id": "gx10/Inkling-2-Mini", + "count": 16, + "attempts": 21, + "failures": 4 + }, + { + "p50Ms": 1500, + "p95Ms": 1949.9999999999998, + "p99Ms": 1990, + "ttfbP50Ms": 750, + "ttfbP95Ms": 974.9999999999999, + "id": "anthropic/claude-haiku-5-5", + "count": 9, + "attempts": 10, + "failures": 0 + }, + { + "p50Ms": 2375, + "p95Ms": 4737.5, + "p99Ms": 4947.5, + "ttfbP50Ms": 2375, + "ttfbP95Ms": 4737.5, + "id": "uni/ornith-1.5-397b", + "count": 7, + "attempts": 13, + "failures": 6 + }, + { + "p50Ms": 625, + "p95Ms": 52500, + "p99Ms": 58500.00000000001, + "ttfbP50Ms": 625, + "ttfbP95Ms": 52500, + "id": "gx10/current", + "count": 5, + "attempts": 7, + "failures": 0 + }, + { + "p50Ms": 1000, + "p95Ms": 1900, + "p99Ms": 1980, + "ttfbP50Ms": 1000, + "ttfbP95Ms": 1900, + "id": "uni/ornith-397b", + "count": 4, + "attempts": 10, + "failures": 6 + }, + { + "p50Ms": 2000, + "p95Ms": 9500, + "p99Ms": 9900, + "ttfbP50Ms": 2000, + "ttfbP95Ms": 9500, + "id": "uni/qwen3.8-27b-uncensored", + "count": 4, + "attempts": 11, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 9249.999999999998, + "p99Ms": 9849.999999999998, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 9249.999999999998, + "id": "uni/model-light", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 375, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 375, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/ornith-1.5-35b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 750, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 750, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/qwen3.6-27b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 4850, + "p99Ms": 4970, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 4850, + "id": "uni/model-heavy", + "count": 1, + "attempts": 31, + "failures": 30 + } + ], + "span": 30, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-model_window-day_span-7.json b/webui/mock/fixtures/performance__kind-model_window-day_span-7.json new file mode 100644 index 0000000..5ffb6c3 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-model_window-day_span-7.json @@ -0,0 +1,273 @@ +{ + "kind": "model", + "window": "day", + "rows": [ + { + "p50Ms": 50.02093115006882, + "p95Ms": 95.03976918513075, + "p99Ms": 99.04144367713627, + "ttfbP50Ms": 50.01776776626052, + "ttfbP95Ms": 95.03375875589498, + "id": "uni/text-embedding-multilingual-e5-base", + "count": 332180, + "attempts": 333182, + "failures": 0 + }, + { + "p50Ms": 6748.470725313136, + "p95Ms": 63123.626373626495, + "p99Ms": 267901.77514792903, + "ttfbP50Ms": 112.34121122599706, + "ttfbP95Ms": 19137.65060240965, + "id": "uni/deepseek-v4-flash-0731", + "count": 19041, + "attempts": 19518, + "failures": 157 + }, + { + "p50Ms": 4917.029835735836, + "p95Ms": 200010.40118870718, + "p99Ms": 333228.57142856915, + "ttfbP50Ms": 251.0647909137842, + "ttfbP95Ms": 819.8598130841119, + "id": "uni/deepseek-v4.1-flash-1017", + "count": 9637, + "attempts": 9754, + "failures": 79 + }, + { + "p50Ms": 2205.248359887535, + "p95Ms": 13286.363636363625, + "p99Ms": 28597.058823529416, + "ttfbP50Ms": 834.5471096950388, + "ttfbP95Ms": 4298.1343283582055, + "id": "uni/glm-5.3-flash", + "count": 3254, + "attempts": 3265, + "failures": 1 + }, + { + "p50Ms": 10197.628458498024, + "p95Ms": 262574.2574257426, + "p99Ms": 496271.1864406775, + "ttfbP50Ms": 1997.1126082771896, + "ttfbP95Ms": 239302.32558139533, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "count": 2540, + "attempts": 2672, + "failures": 3 + }, + { + "p50Ms": 3396.643109540636, + "p95Ms": 19459.090909090883, + "p99Ms": 50449.99999999997, + "ttfbP50Ms": 1319.0709046454767, + "ttfbP95Ms": 4993.389830508473, + "id": "minimax/MiniMax-M3.1-Flash", + "count": 1273, + "attempts": 1413, + "failures": 132 + }, + { + "p50Ms": 6058.139534883721, + "p95Ms": 202486.23853211018, + "p99Ms": 283139.4495412843, + "ttfbP50Ms": 242.4141221374046, + "ttfbP95Ms": 724.2346938775512, + "id": "uni/qwen3.8-flash-next", + "count": 1221, + "attempts": 1253, + "failures": 26 + }, + { + "p50Ms": 1827.7777777777778, + "p95Ms": 44321.42857142854, + "p99Ms": 126150.00000000122, + "ttfbP50Ms": 1395.0819672131147, + "ttfbP95Ms": 9674.342105263155, + "id": "minimax/MiniMax-M3", + "count": 1159, + "attempts": 1162, + "failures": 2 + }, + { + "p50Ms": 293.60465116279073, + "p95Ms": 7854.166666666664, + "p99Ms": 9570.833333333332, + "ttfbP50Ms": 224.21875, + "ttfbP95Ms": 7854.166666666664, + "id": "uni/qwen3.8-27b", + "count": 103, + "attempts": 110, + "failures": 6 + }, + { + "p50Ms": 675, + "p95Ms": 12750.000000000004, + "p99Ms": 24299.99999999996, + "ttfbP50Ms": 593.75, + "ttfbP95Ms": 12750.000000000004, + "id": "gx10/Qwen3.8-27B", + "count": 38, + "attempts": 38, + "failures": 0 + }, + { + "p50Ms": 1222.2222222222224, + "p95Ms": 4849.999999999998, + "p99Ms": 8799.99999999999, + "ttfbP50Ms": 1125, + "ttfbP95Ms": 4849.999999999998, + "id": "minimax/MiniMax-M2.5-highspeed", + "count": 24, + "attempts": 24, + "failures": 0 + }, + { + "p50Ms": 458.33333333333337, + "p95Ms": 4699.999999999995, + "p99Ms": 52799.99999999994, + "ttfbP50Ms": 416.66666666666663, + "ttfbP95Ms": 3199.999999999996, + "id": "uni/model-fast", + "count": 24, + "attempts": 25, + "failures": 0 + }, + { + "p50Ms": 1277.7777777777776, + "p95Ms": 4309.999999999999, + "p99Ms": 4862, + "ttfbP50Ms": 1277.7777777777776, + "ttfbP95Ms": 4309.999999999999, + "id": "minimax/MiniMax-M2.7", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1071.4285714285713, + "p95Ms": 4887.499999999998, + "p99Ms": 8849.999999999998, + "ttfbP50Ms": 1071.4285714285713, + "ttfbP95Ms": 4887.499999999998, + "id": "minimax/MiniMax-M2.7-highspeed", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1333.3333333333333, + "p95Ms": 4633.333333333333, + "p99Ms": 4926.666666666668, + "ttfbP50Ms": 1333.3333333333333, + "ttfbP95Ms": 4633.333333333333, + "id": "minimax/MiniMax-M2.5", + "count": 22, + "attempts": 22, + "failures": 0 + }, + { + "p50Ms": 5000, + "p95Ms": 23999.999999999993, + "p99Ms": 28799.999999999996, + "ttfbP50Ms": 5000, + "ttfbP95Ms": 23999.999999999993, + "id": "gx10/Inkling-2-Mini", + "count": 16, + "attempts": 21, + "failures": 4 + }, + { + "p50Ms": 2375, + "p95Ms": 4737.5, + "p99Ms": 4947.5, + "ttfbP50Ms": 2375, + "ttfbP95Ms": 4737.5, + "id": "uni/ornith-1.5-397b", + "count": 7, + "attempts": 13, + "failures": 6 + }, + { + "p50Ms": 625, + "p95Ms": 52500, + "p99Ms": 58500.00000000001, + "ttfbP50Ms": 625, + "ttfbP95Ms": 52500, + "id": "gx10/current", + "count": 5, + "attempts": 7, + "failures": 0 + }, + { + "p50Ms": 1000, + "p95Ms": 1900, + "p99Ms": 1980, + "ttfbP50Ms": 1000, + "ttfbP95Ms": 1900, + "id": "uni/ornith-397b", + "count": 4, + "attempts": 10, + "failures": 6 + }, + { + "p50Ms": 2000, + "p95Ms": 9500, + "p99Ms": 9900, + "ttfbP50Ms": 2000, + "ttfbP95Ms": 9500, + "id": "uni/qwen3.8-27b-uncensored", + "count": 4, + "attempts": 11, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 9249.999999999998, + "p99Ms": 9849.999999999998, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 9249.999999999998, + "id": "uni/model-light", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 375, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 375, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/ornith-1.5-35b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 750, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 750, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/qwen3.6-27b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 4850, + "p99Ms": 4970, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 4850, + "id": "uni/model-heavy", + "count": 1, + "attempts": 7, + "failures": 6 + } + ], + "span": 7, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-model_window-hour_span-48.json b/webui/mock/fixtures/performance__kind-model_window-hour_span-48.json new file mode 100644 index 0000000..f77e22d --- /dev/null +++ b/webui/mock/fixtures/performance__kind-model_window-hour_span-48.json @@ -0,0 +1,240 @@ +{ + "kind": "model", + "window": "hour", + "rows": [ + { + "p50Ms": 50.01849514774359, + "p95Ms": 95.03514078071284, + "p99Ms": 99.03662039253231, + "ttfbP50Ms": 50.0155930433269, + "ttfbP95Ms": 95.02962678232113, + "id": "uni/text-embedding-multilingual-e5-base", + "count": 137925, + "attempts": 138906, + "failures": 0 + }, + { + "p50Ms": 7677.332305319969, + "p95Ms": 67221.42857142873, + "p99Ms": 250524.62006079013, + "ttfbP50Ms": 138.71457489878543, + "ttfbP95Ms": 18277.702702702718, + "id": "uni/deepseek-v4-flash-0731", + "count": 9043, + "attempts": 9228, + "failures": 62 + }, + { + "p50Ms": 4620.60546875, + "p95Ms": 110720.930232558, + "p99Ms": 258599.9999999998, + "ttfbP50Ms": 274.0456586826348, + "ttfbP95Ms": 820.170454545454, + "id": "uni/deepseek-v4.1-flash-1017", + "count": 3059, + "attempts": 3082, + "failures": 8 + }, + { + "p50Ms": 2015.7342657342658, + "p95Ms": 12086.538461538445, + "p99Ms": 28154.34782608693, + "ttfbP50Ms": 833.0550918196996, + "ttfbP95Ms": 4449.999999999995, + "id": "uni/glm-5.3-flash", + "count": 1766, + "attempts": 1771, + "failures": 0 + }, + { + "p50Ms": 8130.081300813007, + "p95Ms": 280933.3333333334, + "p99Ms": 537063.8297872347, + "ttfbP50Ms": 1880.415944540728, + "ttfbP95Ms": 254195.1219512196, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "count": 1286, + "attempts": 1320, + "failures": 1 + }, + { + "p50Ms": 3440.7540394973066, + "p95Ms": 19708.333333333347, + "p99Ms": 50983.33333333319, + "ttfbP50Ms": 1312.03007518797, + "ttfbP95Ms": 4978.4965034965035, + "id": "minimax/MiniMax-M3.1-Flash", + "count": 1241, + "attempts": 1381, + "failures": 132 + }, + { + "p50Ms": 5774.647887323944, + "p95Ms": 208348.623853211, + "p99Ms": 284311.9266055046, + "ttfbP50Ms": 248.55769230769232, + "ttfbP95Ms": 712.3655913978495, + "id": "uni/qwen3.8-flash-next", + "count": 1150, + "attempts": 1182, + "failures": 26 + }, + { + "p50Ms": 2642.8571428571427, + "p95Ms": 46147.05882352937, + "p99Ms": 112979.9999999999, + "ttfbP50Ms": 1445.8333333333333, + "ttfbP95Ms": 8204.545454545452, + "id": "minimax/MiniMax-M3", + "count": 417, + "attempts": 417, + "failures": 0 + }, + { + "p50Ms": 293.60465116279073, + "p95Ms": 7854.166666666664, + "p99Ms": 9570.833333333332, + "ttfbP50Ms": 224.21875, + "ttfbP95Ms": 7854.166666666664, + "id": "uni/qwen3.8-27b", + "count": 103, + "attempts": 104, + "failures": 0 + }, + { + "p50Ms": 687.5, + "p95Ms": 12874.999999999996, + "p99Ms": 24450.00000000004, + "ttfbP50Ms": 609.375, + "ttfbP95Ms": 12874.999999999996, + "id": "gx10/Qwen3.8-27B", + "count": 37, + "attempts": 37, + "failures": 0 + }, + { + "p50Ms": 5000, + "p95Ms": 23999.999999999993, + "p99Ms": 28799.999999999996, + "ttfbP50Ms": 5000, + "ttfbP95Ms": 23999.999999999993, + "id": "gx10/Inkling-2-Mini", + "count": 16, + "attempts": 20, + "failures": 3 + }, + { + "p50Ms": 2375, + "p95Ms": 4737.5, + "p99Ms": 4947.5, + "ttfbP50Ms": 2375, + "ttfbP95Ms": 4737.5, + "id": "uni/ornith-1.5-397b", + "count": 7, + "attempts": 7, + "failures": 0 + }, + { + "p50Ms": 250, + "p95Ms": 4699.999999999999, + "p99Ms": 4939.999999999999, + "ttfbP50Ms": 250, + "ttfbP95Ms": 4699.999999999999, + "id": "uni/model-fast", + "count": 4, + "attempts": 4, + "failures": 0 + }, + { + "p50Ms": 1000, + "p95Ms": 1900, + "p99Ms": 1980, + "ttfbP50Ms": 1000, + "ttfbP95Ms": 1900, + "id": "uni/ornith-397b", + "count": 4, + "attempts": 4, + "failures": 0 + }, + { + "p50Ms": 2000, + "p95Ms": 9500, + "p99Ms": 9900, + "ttfbP50Ms": 2000, + "ttfbP95Ms": 9500, + "id": "uni/qwen3.8-27b-uncensored", + "count": 4, + "attempts": 5, + "failures": 0 + }, + { + "p50Ms": 3500, + "p95Ms": 9249.999999999998, + "p99Ms": 9849.999999999998, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 9249.999999999998, + "id": "uni/model-light", + "count": 3, + "attempts": 3, + "failures": 0 + }, + { + "p50Ms": 375, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 375, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/ornith-1.5-35b", + "count": 3, + "attempts": 3, + "failures": 0 + }, + { + "p50Ms": 750, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 750, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/qwen3.6-27b", + "count": 3, + "attempts": 3, + "failures": 0 + }, + { + "p50Ms": 45000, + "p95Ms": 58500, + "p99Ms": 59700, + "ttfbP50Ms": 45000, + "ttfbP95Ms": 58500, + "id": "gx10/current", + "count": 1, + "attempts": 3, + "failures": 0 + }, + { + "p50Ms": 1500, + "p95Ms": 1950, + "p99Ms": 1990, + "ttfbP50Ms": 1500, + "ttfbP95Ms": 1950, + "id": "minimax/MiniMax-M2.7-highspeed", + "count": 1, + "attempts": 1, + "failures": 0 + }, + { + "p50Ms": 3500, + "p95Ms": 4850, + "p99Ms": 4970, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 4850, + "id": "uni/model-heavy", + "count": 1, + "attempts": 1, + "failures": 0 + } + ], + "span": 48, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json deleted file mode 100644 index 67ac80d..0000000 --- a/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "kind": "provider", - "window": "day", - "rows": [], - "buckets": [ - "20261112", - "20261113", - "20261114", - "20261115", - "20261116", - "20261117", - "20261118", - "20261119", - "20261120", - "20261121", - "20261122", - "20261123", - "20261124", - "20261125" - ], - "points": [ - { - "id": "20261112", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261113", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261114", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261115", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "p50Ms": 1500, - "p95Ms": 1949.9999999999998, - "p99Ms": 1990, - "ttfbP50Ms": 750, - "ttfbP95Ms": 974.9999999999999, - "id": "20261116", - "count": 9, - "attempts": 10, - "failures": 0 - }, - { - "id": "20261117", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261118", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261119", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261120", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261121", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261122", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261123", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261124", - "count": 0, - "attempts": 0, - "failures": 0 - }, - { - "id": "20261125", - "count": 0, - "attempts": 0, - "failures": 0 - } - ], - "span": 14, - "offset": 0, - "latencyEnabled": true -} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-30.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-30.json new file mode 100644 index 0000000..15a7c73 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-30.json @@ -0,0 +1,160 @@ +{ + "kind": "provider", + "window": "day", + "rows": [ + { + "p50Ms": 4789.855072463768, + "p95Ms": 25160.714285714264, + "p99Ms": 53534.99999999991, + "ttfbP50Ms": 2666.163141993958, + "ttfbP95Ms": 8572.499999999996, + "id": "alibaba", + "count": 731, + "attempts": 937, + "failures": 366 + }, + { + "id": "amd", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 1500, + "p95Ms": 1949.9999999999998, + "p99Ms": 1990, + "ttfbP50Ms": 750, + "ttfbP95Ms": 974.9999999999999, + "id": "anthropic", + "count": 9, + "attempts": 10, + "failures": 0 + }, + { + "id": "cerebras", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "codex", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "copilot", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "deepseek", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 12060.344827586207, + "p95Ms": 282891.3043478261, + "p99Ms": 533451.9230769227, + "ttfbP50Ms": 2313.392857142857, + "ttfbP95Ms": 227058.1395348836, + "id": "gx10", + "count": 3007, + "attempts": 9885, + "failures": 7, + "timeouts": 7 + }, + { + "id": "macstudio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 1929.7619047619048, + "p95Ms": 27272.727272727272, + "p99Ms": 110571.4285714287, + "ttfbP50Ms": 1259.5190380761524, + "ttfbP95Ms": 9360.902255639097, + "id": "minimax", + "count": 3360, + "attempts": 3448, + "failures": 143 + }, + { + "id": "nvidia-nim", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "nvidia-retrieval", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 16640.625, + "p95Ms": 54000, + "p99Ms": 83999.99999999977, + "ttfbP50Ms": 16640.625, + "ttfbP95Ms": 54000, + "id": "openai", + "count": 180, + "attempts": 180, + "failures": 0 + }, + { + "id": "openai-audio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "parakeet-mlx", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "piper-tts", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 54.80356810345382, + "p95Ms": 2627.468756772371, + "p99Ms": 24249.487590072047, + "ttfbP50Ms": 53.83928782634065, + "ttfbP95Ms": 196.31547592780518, + "id": "uni", + "count": 682813, + "attempts": 687167, + "failures": 389, + "timeouts": 5 + }, + { + "id": "xai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 175, + "p95Ms": 242.5, + "p99Ms": 248.5, + "ttfbP50Ms": 175, + "ttfbP95Ms": 242.5, + "id": "xiaomi", + "count": 1, + "attempts": 1, + "failures": 0 + } + ], + "span": 30, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-alibaba.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-alibaba.json new file mode 100644 index 0000000..5627316 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-alibaba.json @@ -0,0 +1,232 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261027", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261028", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261029", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261030", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261031", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261101", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261102", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261103", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261104", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261105", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261106", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261107", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261108", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261109", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261110", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261111", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261112", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261113", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261114", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 3652.542372881356, + "p95Ms": 9971.264367816091, + "p99Ms": 14958.333333333325, + "ttfbP50Ms": 2134.6153846153848, + "ttfbP95Ms": 4817.307692307692, + "id": "20261115", + "count": 310, + "attempts": 408, + "failures": 178 + }, + { + "id": "20261116", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261117", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 6604.166666666667, + "p95Ms": 32924.999999999985, + "p99Ms": 58185.00000000003, + "ttfbP50Ms": 3140, + "ttfbP95Ms": 9088.383838383837, + "id": "20261118", + "count": 421, + "attempts": 529, + "failures": 188 + }, + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 30, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-amd.json similarity index 51% rename from webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json rename to webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-amd.json index c519d22..10590b1 100644 --- a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-30_series-1_id-amd.json @@ -1,180 +1,222 @@ { "kind": "provider", - "window": "hour", + "window": "day", "rows": [], "buckets": [ - "2026112402", - "2026112403", - "2026112404", - "2026112405", - "2026112406", - "2026112407", - "2026112408", - "2026112409", - "2026112410", - "2026112411", - "2026112412", - "2026112413", - "2026112414", - "2026112415", - "2026112416", - "2026112417", - "2026112418", - "2026112419", - "2026112420", - "2026112421", - "2026112422", - "2026112423", - "2026112500", - "2026112501" + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" ], "points": [ { - "id": "2026112402", + "id": "20261027", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112403", + "id": "20261028", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112404", + "id": "20261029", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112405", + "id": "20261030", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112406", + "id": "20261031", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112407", + "id": "20261101", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112408", + "id": "20261102", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112409", + "id": "20261103", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112410", + "id": "20261104", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112411", + "id": "20261105", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112412", + "id": "20261106", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112413", + "id": "20261107", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112414", + "id": "20261108", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112415", + "id": "20261109", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112416", + "id": "20261110", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112417", + "id": "20261111", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112418", + "id": "20261112", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112419", + "id": "20261113", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112420", + "id": "20261114", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112421", + "id": "20261115", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112422", + "id": "20261116", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112423", + "id": "20261117", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112500", + "id": "20261118", "count": 0, "attempts": 0, "failures": 0 }, { - "id": "2026112501", + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", "count": 0, "attempts": 0, "failures": 0 } ], - "span": 24, + "span": 30, "offset": 0, "latencyEnabled": true } \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-7.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-7.json new file mode 100644 index 0000000..7fc2033 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-7.json @@ -0,0 +1,145 @@ +{ + "kind": "provider", + "window": "day", + "rows": [ + { + "id": "alibaba", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "amd", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "anthropic", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "cerebras", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "codex", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "copilot", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "deepseek", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 10746.124031007752, + "p95Ms": 279000, + "p99Ms": 526220.9302325577, + "ttfbP50Ms": 1980.8978032473733, + "ttfbP95Ms": 237209.3023255814, + "id": "gx10", + "count": 2715, + "attempts": 6409, + "failures": 7, + "timeouts": 7 + }, + { + "id": "macstudio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 2545.300113250283, + "p95Ms": 25607.142857142844, + "p99Ms": 95317.24137931068, + "ttfbP50Ms": 1298.9203778677463, + "ttfbP95Ms": 8007.009345794387, + "id": "minimax", + "count": 2593, + "attempts": 2673, + "failures": 134 + }, + { + "id": "nvidia-nim", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "nvidia-retrieval", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai-audio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "parakeet-mlx", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "piper-tts", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 55.639155022988604, + "p95Ms": 4429.8625504527035, + "p99Ms": 29041.113972955518, + "ttfbP50Ms": 54.053775580986986, + "ttfbP95Ms": 210.34469816687695, + "id": "uni", + "count": 372483, + "attempts": 376745, + "failures": 311, + "timeouts": 5 + }, + { + "id": "xai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 175, + "p95Ms": 242.5, + "p99Ms": 248.5, + "ttfbP50Ms": 175, + "ttfbP95Ms": 242.5, + "id": "xiaomi", + "count": 1, + "attempts": 1, + "failures": 0 + } + ], + "span": 7, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-alibaba.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-alibaba.json new file mode 100644 index 0000000..38f7c67 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-alibaba.json @@ -0,0 +1,61 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 7, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-amd.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-amd.json new file mode 100644 index 0000000..38f7c67 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-7_series-1_id-amd.json @@ -0,0 +1,61 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 7, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-48.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48.json new file mode 100644 index 0000000..bde5225 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48.json @@ -0,0 +1,140 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [ + { + "id": "alibaba", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "amd", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "anthropic", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "cerebras", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "codex", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "copilot", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "deepseek", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 8037.848605577689, + "p95Ms": 311249.99999999977, + "p99Ms": 552838.2352941174, + "ttfbP50Ms": 1857.2649572649573, + "ttfbP95Ms": 250170.73170731714, + "id": "gx10", + "count": 1369, + "attempts": 2782, + "failures": 4, + "timeouts": 4 + }, + { + "id": "macstudio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 3158.284023668639, + "p95Ms": 24019.23076923074, + "p99Ms": 71119.99999999988, + "ttfbP50Ms": 1282.6923076923076, + "ttfbP95Ms": 6282.258064516118, + "id": "minimax", + "count": 1722, + "attempts": 1799, + "failures": 132 + }, + { + "id": "nvidia-nim", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "nvidia-retrieval", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai-audio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "parakeet-mlx", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "piper-tts", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 55.413559248897876, + "p95Ms": 4916.234718826397, + "p99Ms": 29341.92816635156, + "ttfbP50Ms": 53.73154624509237, + "ttfbP95Ms": 240.08803365534354, + "id": "uni", + "count": 154104, + "attempts": 157975, + "failures": 96, + "timeouts": 2 + }, + { + "id": "xai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "xiaomi", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 48, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-alibaba.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-alibaba.json new file mode 100644 index 0000000..4091967 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-alibaba.json @@ -0,0 +1,348 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [], + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "points": [ + { + "id": "2026112302", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112303", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112304", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112305", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112306", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112307", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112308", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112309", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112310", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112311", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112312", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112313", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112314", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112315", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112316", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112317", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112318", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112319", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112320", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112321", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112322", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112323", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112400", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112401", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112402", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112403", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112404", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112405", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112406", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112407", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112408", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112409", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112410", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112411", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112412", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112413", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112414", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112415", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112416", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112417", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112418", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112419", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112420", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112421", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112422", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112423", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112500", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112501", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 48, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-amd.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-amd.json new file mode 100644 index 0000000..4091967 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-48_series-1_id-amd.json @@ -0,0 +1,348 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [], + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "points": [ + { + "id": "2026112302", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112303", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112304", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112305", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112306", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112307", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112308", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112309", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112310", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112311", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112312", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112313", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112314", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112315", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112316", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112317", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112318", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112319", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112320", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112321", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112322", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112323", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112400", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112401", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112402", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112403", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112404", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112405", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112406", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112407", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112408", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112409", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112410", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112411", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112412", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112413", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112414", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112415", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112416", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112417", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112418", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112419", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112420", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112421", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112422", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112423", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112500", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112501", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 48, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-5.json new file mode 100644 index 0000000..27335ba --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-5.json @@ -0,0 +1,24 @@ +{ + "metric": "cost", + "window": "day", + "models": [ + { + "id": "openai/gpt-5.5", + "value": 9130865 + }, + { + "id": "minimax/MiniMax-M3", + "value": 6407815 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-100_detail-1.json new file mode 100644 index 0000000..e0d1639 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-100_detail-1.json @@ -0,0 +1,304 @@ +{ + "metric": "cost", + "window": "day", + "models": [ + { + "requests": 1159, + "tokensIn": 15556543, + "tokensOut": 719852, + "costMicroUsd": 5530972, + "cacheHits": 5, + "cacheSavedMicroUsd": 13350, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 5530972 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5678 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 4010 + }, + { + "requests": 332111, + "tokensIn": 65434388, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 19003, + "tokensIn": 1148150684, + "tokensOut": 12446290, + "costMicroUsd": 0, + "cacheHits": 1910, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 9596, + "tokensIn": 1288155471, + "tokensOut": 5644862, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3254, + "tokensIn": 461625105, + "tokensOut": 1509333, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 2540, + "tokensIn": 368472873, + "tokensOut": 1547182, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1221, + "tokensIn": 157548452, + "tokensOut": 961646, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 38, + "tokensIn": 2672, + "tokensOut": 2804, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 24, + "tokensIn": 1449, + "tokensOut": 2558, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 7, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-5.json new file mode 100644 index 0000000..7be6656 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-7_limit-5.json @@ -0,0 +1,20 @@ +{ + "metric": "cost", + "window": "day", + "models": [ + { + "id": "minimax/MiniMax-M3", + "value": 5530972 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-5.json new file mode 100644 index 0000000..16072f6 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-5.json @@ -0,0 +1,12 @@ +{ + "metric": "cost", + "window": "hour", + "models": [ + { + "id": "minimax/MiniMax-M3", + "value": 3893055 + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-100_detail-1.json new file mode 100644 index 0000000..55669bd --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 9130865 + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 6407815 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5678 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 4010 + }, + { + "requests": 618826, + "tokensIn": 119630538, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 19684, + "tokensIn": 2822317803, + "tokensOut": 11625259, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 3, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-5.json new file mode 100644 index 0000000..782f979 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-3_limit-5.json @@ -0,0 +1,24 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "id": "openai/gpt-5.5", + "value": 9130865 + }, + { + "id": "minimax/MiniMax-M3", + "value": 6407815 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-100_detail-1.json new file mode 100644 index 0000000..19b093e --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 9130865 + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 6407815 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5678 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 4010 + }, + { + "requests": 618829, + "tokensIn": 119630634, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23126, + "tokensIn": 1277836817, + "tokensOut": 17958706, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 19686, + "tokensIn": 2822488941, + "tokensOut": 11626007, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 6, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-5.json new file mode 100644 index 0000000..de12bbb --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-6_limit-5.json @@ -0,0 +1,24 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "id": "openai/gpt-5.5", + "value": 9130865 + }, + { + "id": "minimax/MiniMax-M3", + "value": 6407815 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-day_span-7_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-day_span-7_limit-100_detail-1.json new file mode 100644 index 0000000..ff8a083 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-day_span-7_limit-100_detail-1.json @@ -0,0 +1,304 @@ +{ + "metric": "req", + "window": "day", + "models": [ + { + "requests": 332111, + "tokensIn": 65434388, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 332111 + }, + { + "requests": 19003, + "tokensIn": 1148150684, + "tokensOut": 12446290, + "costMicroUsd": 0, + "cacheHits": 1910, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 19003, + "free": true + }, + { + "requests": 9595, + "tokensIn": 1288075710, + "tokensOut": 5644431, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 9595 + }, + { + "requests": 3254, + "tokensIn": 461625105, + "tokensOut": 1509333, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 3254 + }, + { + "requests": 2540, + "tokensIn": 368472873, + "tokensOut": 1547182, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 2540, + "free": true + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 1273 + }, + { + "requests": 1221, + "tokensIn": 157548452, + "tokensOut": 961646, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1221 + }, + { + "requests": 1159, + "tokensIn": 15556543, + "tokensOut": 719852, + "costMicroUsd": 5530972, + "cacheHits": 5, + "cacheSavedMicroUsd": 13350, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1159 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 38, + "tokensIn": 2672, + "tokensOut": 2804, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 38, + "free": true + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 24 + }, + { + "requests": 24, + "tokensIn": 1449, + "tokensOut": 2558, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 24 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 22 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 7 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 5, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 4, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 3, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 7, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-month_span-3_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-month_span-3_limit-100_detail-1.json new file mode 100644 index 0000000..777c37b --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-month_span-3_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "req", + "window": "month", + "models": [ + { + "requests": 618826, + "tokensIn": 119630538, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 618826 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 23125, + "free": true + }, + { + "requests": 19683, + "tokensIn": 2822232943, + "tokensOut": 11624851, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 19683 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 4665 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 2610, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1924 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1440 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 1273 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 571 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 258, + "free": true + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 170 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 28 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 24 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 22 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 9 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 7 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 5, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 4, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 3, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 3, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-month_span-6_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-month_span-6_limit-100_detail-1.json new file mode 100644 index 0000000..c99b551 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-month_span-6_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "req", + "window": "month", + "models": [ + { + "requests": 618829, + "tokensIn": 119630634, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 618829 + }, + { + "requests": 23126, + "tokensIn": 1277836817, + "tokensOut": 17958706, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 23126, + "free": true + }, + { + "requests": 19686, + "tokensIn": 2822488941, + "tokensOut": 11626007, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 19686 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 4665 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 2610, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1924 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1440 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 1273 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 571 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 258, + "free": true + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 170 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 28 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 24 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 22 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 9 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 7 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 5, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 4, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 3, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 6, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-7_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-7_limit-100_detail-1.json new file mode 100644 index 0000000..2058a31 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-7_limit-100_detail-1.json @@ -0,0 +1,304 @@ +{ + "metric": "tokin", + "window": "day", + "models": [ + { + "requests": 9596, + "tokensIn": 1288155471, + "tokensOut": 5644862, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 1288155471 + }, + { + "requests": 19003, + "tokensIn": 1148150684, + "tokensOut": 12446290, + "costMicroUsd": 0, + "cacheHits": 1910, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 1148150684, + "free": true + }, + { + "requests": 3254, + "tokensIn": 461625105, + "tokensOut": 1509333, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 461625105 + }, + { + "requests": 2540, + "tokensIn": 368472873, + "tokensOut": 1547182, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 368472873, + "free": true + }, + { + "requests": 1221, + "tokensIn": 157548452, + "tokensOut": 961646, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 157548452 + }, + { + "requests": 332111, + "tokensIn": 65434388, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 65434388 + }, + { + "requests": 1159, + "tokensIn": 15556543, + "tokensOut": 719852, + "costMicroUsd": 5530972, + "cacheHits": 5, + "cacheSavedMicroUsd": 13350, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 15556543 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 12504315 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5858 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 5693 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 5654 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 5463 + }, + { + "requests": 38, + "tokensIn": 2672, + "tokensOut": 2804, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 2672, + "free": true + }, + { + "requests": 24, + "tokensIn": 1449, + "tokensOut": 2558, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 1449 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 319 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 293 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 233 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 201, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 93, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 75 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 69, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 45 + } + ], + "span": 7, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-3_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-3_limit-100_detail-1.json new file mode 100644 index 0000000..e9807bc --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-3_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokin", + "window": "month", + "models": [ + { + "requests": 19684, + "tokensIn": 2822317803, + "tokensOut": 11625259, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 2822317803 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 1277518318, + "free": true + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 692792587 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 374075798, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 200558194 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 157645322 + }, + { + "requests": 618827, + "tokensIn": 119630590, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 119630590 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 30544309, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 16486171 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 12504315 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 310255 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 55059 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5858 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 5693 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 5654 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 5463 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 2369 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 319 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 293 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 233 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 201, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 93, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 75 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 69, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 45 + } + ], + "span": 3, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-6_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-6_limit-100_detail-1.json new file mode 100644 index 0000000..3460645 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-6_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokin", + "window": "month", + "models": [ + { + "requests": 19687, + "tokensIn": 2822575144, + "tokensOut": 11626580, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 2822575144 + }, + { + "requests": 23126, + "tokensIn": 1277836817, + "tokensOut": 17958706, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 1277836817, + "free": true + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 692792587 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 374075798, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 200558194 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 157645322 + }, + { + "requests": 618831, + "tokensIn": 119630704, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 119630704 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 30544309, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 16486171 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 12504315 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 310255 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 55059 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5858 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 5693 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 5654 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 5463 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 2369 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 319 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 293 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 233 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 201, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 93, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 75 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 69, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 45 + } + ], + "span": 6, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-7_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-7_limit-100_detail-1.json new file mode 100644 index 0000000..28d3b5e --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-7_limit-100_detail-1.json @@ -0,0 +1,304 @@ +{ + "metric": "tokout", + "window": "day", + "models": [ + { + "requests": 19003, + "tokensIn": 1148150684, + "tokensOut": 12446290, + "costMicroUsd": 0, + "cacheHits": 1910, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 12446290, + "free": true + }, + { + "requests": 9596, + "tokensIn": 1288155471, + "tokensOut": 5644862, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 5644862 + }, + { + "requests": 2540, + "tokensIn": 368472873, + "tokensOut": 1547182, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 1547182, + "free": true + }, + { + "requests": 3254, + "tokensIn": 461625105, + "tokensOut": 1509333, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1509333 + }, + { + "requests": 1221, + "tokensIn": 157548452, + "tokensOut": 961646, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 961646 + }, + { + "requests": 1159, + "tokensIn": 15556543, + "tokensOut": 719852, + "costMicroUsd": 5530972, + "cacheHits": 5, + "cacheSavedMicroUsd": 13350, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 719852 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 617094 + }, + { + "requests": 38, + "tokensIn": 2672, + "tokensOut": 2804, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 2804, + "free": true + }, + { + "requests": 24, + "tokensIn": 1449, + "tokensOut": 2558, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 2558 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 2006 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 1974 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 1633 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 1557 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 1173 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 905 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 767 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 312, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 263, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 216 + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 207 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 71, + "free": true + }, + { + "requests": 332111, + "tokensIn": 65434388, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 7, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-3_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-3_limit-100_detail-1.json new file mode 100644 index 0000000..cf1cd72 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-3_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokout", + "window": "month", + "models": [ + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 17958051, + "free": true + }, + { + "requests": 19685, + "tokensIn": 2822403091, + "tokensOut": 11625721, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 11625721 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1690554 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 1598505, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1218035 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1191596 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 617094 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 594775, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 542205 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 252653 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 4444 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 2006 + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 1977 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 1974 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 1633 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 1557 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 1173 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 905 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 767 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 312, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 263, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 216 + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 207 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 71, + "free": true + }, + { + "requests": 618827, + "tokensIn": 119630590, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 3, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-6_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-6_limit-100_detail-1.json new file mode 100644 index 0000000..d1b4087 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-6_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokout", + "window": "month", + "models": [ + { + "requests": 23126, + "tokensIn": 1277836817, + "tokensOut": 17958706, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 17958706, + "free": true + }, + { + "requests": 19687, + "tokensIn": 2822575144, + "tokensOut": 11626580, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 11626580 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1690554 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 1598505, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1218035 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1191596 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 617094 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 594775, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 542205 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 252653 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 4444 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 2006 + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 1977 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 1974 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 1633 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 1557 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 1173 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 905 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 767 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 312, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 263, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 216 + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 207 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 71, + "free": true + }, + { + "requests": 618831, + "tokensIn": 119630704, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 6, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-30.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-30.json new file mode 100644 index 0000000..783396f --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-30.json @@ -0,0 +1,706 @@ +{ + "metric": "attempt", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 408, + 0, + 0, + 529, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 568, + 639, + 776, + 813, + 680, + 655, + 1227, + 635, + 1058, + 1979, + 830, + 25 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 139, + 158, + 154, + 150, + 174, + 159, + 149, + 293, + 233, + 300, + 1533, + 6 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 180, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 58214, + 45518, + 73268, + 65206, + 68209, + 64606, + 60664, + 47189, + 44335, + 77035, + 81053, + 1867 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-7.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-7.json new file mode 100644 index 0000000..b0870ce --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-7.json @@ -0,0 +1,246 @@ +{ + "metric": "attempt", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 655, + 1227, + 635, + 1058, + 1979, + 830, + 25 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 159, + 149, + 293, + 233, + 300, + 1533, + 6 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 64606, + 60664, + 47189, + 44335, + 77035, + 81053, + 1861 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 1, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-48.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-48.json new file mode 100644 index 0000000..a1018f8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-48.json @@ -0,0 +1,1066 @@ +{ + "metric": "attempt", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 14, + 27, + 13, + 16, + 23, + 26, + 61, + 97, + 208, + 253, + 193, + 83, + 199, + 171, + 95, + 34, + 47, + 51, + 111, + 139, + 48, + 18, + 18, + 14, + 14, + 17, + 21, + 23, + 22, + 22, + 26, + 97, + 39, + 39, + 47, + 40, + 45, + 42, + 64, + 36, + 33, + 30, + 32, + 36, + 36, + 37, + 25, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 18, + 6, + 6, + 6, + 13, + 6, + 6, + 29, + 11, + 6, + 30, + 13, + 6, + 12, + 35, + 20, + 6, + 6, + 7, + 6, + 6, + 6, + 6, + 445, + 873, + 6, + 6, + 6, + 6, + 6, + 13, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 22, + 6, + 19, + 48, + 10, + 6, + 7, + 6, + 6, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 1492, + 1305, + 1016, + 722, + 1884, + 2248, + 2917, + 4017, + 4379, + 5302, + 5804, + 4883, + 6783, + 4894, + 3949, + 3975, + 4023, + 3677, + 4551, + 3481, + 2119, + 1644, + 1931, + 2353, + 2170, + 898, + 2007, + 1909, + 2050, + 2508, + 3811, + 4371, + 4329, + 3736, + 3886, + 4745, + 7583, + 4273, + 4782, + 3844, + 4148, + 3742, + 4791, + 3415, + 2191, + 1580, + 1658, + 197 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-30.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-30.json new file mode 100644 index 0000000..b4d947a --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-30.json @@ -0,0 +1,706 @@ +{ + "metric": "fail", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 178, + 0, + 0, + 188, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 5, + 1, + 1, + 1, + 0, + 0, + 0, + 132, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16, + 23, + 0, + 15, + 24, + 79, + 10, + 52, + 67, + 80, + 23, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-7.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-7.json new file mode 100644 index 0000000..dbb331a --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-7.json @@ -0,0 +1,246 @@ +{ + "metric": "fail", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 1, + 1, + 0, + 0, + 0, + 132, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 79, + 10, + 52, + 67, + 80, + 23, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-48.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-48.json new file mode 100644 index 0000000..0fb3eb4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-48.json @@ -0,0 +1,1066 @@ +{ + "metric": "fail", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23, + 109, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 8, + 40, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 24, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 22, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-30.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-30.json new file mode 100644 index 0000000..d58efab --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-30.json @@ -0,0 +1,706 @@ +{ + "metric": "fover", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-7.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-7.json new file mode 100644 index 0000000..03a85f7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-7.json @@ -0,0 +1,246 @@ +{ + "metric": "fover", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-48.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-48.json new file mode 100644 index 0000000..1016c87 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-48.json @@ -0,0 +1,1066 @@ +{ + "metric": "fover", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-30.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-30.json new file mode 100644 index 0000000..a36705e --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-30.json @@ -0,0 +1,706 @@ +{ + "metric": "timeout", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 0, + 1, + 1, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-7.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-7.json new file mode 100644 index 0000000..5805397 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-7.json @@ -0,0 +1,246 @@ +{ + "metric": "timeout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 3, + 0, + 0, + 1, + 1, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-48.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-48.json new file mode 100644 index 0000000..7a9a7e6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-48.json @@ -0,0 +1,1066 @@ +{ + "metric": "timeout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-3.json new file mode 100644 index 0000000..9228d40 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-3.json @@ -0,0 +1,230 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 17974761 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 11639456 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 1690554 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 1598505 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 1218035 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 1191596 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 617094 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 594775 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 542205 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 252653 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 4444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 2006 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 1977 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 1974 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 1633 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 1557 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 1544 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 1374 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 1173 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 905 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 767 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 312 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 263 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 216 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 207 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 71 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-6.json b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-6.json new file mode 100644 index 0000000..6c92fc7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-6.json @@ -0,0 +1,314 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 17974761 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 11639456 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1690554 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1598505 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1218035 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1191596 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 617094 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 594775 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 542205 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 252653 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 4444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 2006 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1977 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1974 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1633 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1557 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1544 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1374 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1173 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 905 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 767 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 312 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 263 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 216 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 207 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 71 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..4fd02a5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-3.json @@ -0,0 +1,230 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 9130865 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 6407815 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 5678 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 4010 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-6.json b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-6.json new file mode 100644 index 0000000..e03c20e --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-6.json @@ -0,0 +1,314 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 9130865 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 6407815 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5678 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 4010 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-3.json new file mode 100644 index 0000000..95d487c --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-3.json @@ -0,0 +1,230 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 618883 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 23158 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 19716 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 4665 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 2610 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 1924 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 1440 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 1273 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 571 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 258 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 170 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 103 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 28 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 24 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 22 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 16 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 9 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 7 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 5 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 1 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-6.json b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-6.json new file mode 100644 index 0000000..2de613b --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-6.json @@ -0,0 +1,314 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 618885 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 23158 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 19716 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 4665 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 2610 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1924 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1440 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1273 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 571 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 258 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 170 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 103 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 28 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 24 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 22 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 16 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 9 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 7 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-3.json new file mode 100644 index 0000000..f761312 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-3.json @@ -0,0 +1,230 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 2825232700 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 1288614360 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 692792587 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 374075798 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 200558194 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 157645322 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 119632800 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 30544309 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 16486171 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 12504315 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 310255 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 75501 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 55059 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 7444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 5858 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 5693 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 5654 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 5463 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 2369 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 319 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 293 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 233 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 201 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 93 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 75 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 69 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 45 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-6.json b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-6.json new file mode 100644 index 0000000..e2328b4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-6.json @@ -0,0 +1,314 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 2825232700 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1288614360 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 692792587 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 374075798 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 200558194 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 157645322 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 119632840 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 30544309 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 16486171 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 12504315 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 310255 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 75501 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 55059 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 7444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5858 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5693 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5654 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5463 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 2369 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 319 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 293 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 233 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 201 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 93 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 75 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 69 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 45 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..4aecc75 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-30.json @@ -0,0 +1,111 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 397894, + 99572, + 112790, + 37125, + 9334245, + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 33361, + 0, + 0, + 0, + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..8c79969 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-7.json @@ -0,0 +1,42 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + }, + { + "scope": "group:friends", + "points": [ + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..b004a98 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-3.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 15518522 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 50538 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-6.json similarity index 68% rename from webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json rename to webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-6.json index 24ab802..d7e0841 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "cost", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,24 +11,29 @@ ], "series": [ { - "scope": "group:projects", + "scope": "group:home", "points": [ 0, 0, 0, 0, 0, + 15518522 + ] + }, + { + "scope": "group:friends", + "points": [ 0, 0, 0, 0, 0, - 0, - 0 + 50538 ] } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-30.json new file mode 100644 index 0000000..b822790 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-30.json @@ -0,0 +1,111 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 63138, + 50371, + 79726, + 71694, + 74276, + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1811 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 268, + 1888, + 1060, + 1478, + 3150, + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 522 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-7.json new file mode 100644 index 0000000..015a1eb --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-7.json @@ -0,0 +1,42 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1754 + ] + }, + { + "scope": "group:friends", + "points": [ + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 518 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-48.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-48.json new file mode 100644 index 0000000..824de0f --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-48.json @@ -0,0 +1,165 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 2388, + 2049, + 1844, + 1446, + 2578, + 3007, + 3647, + 4909, + 5026, + 5893, + 6406, + 5402, + 7371, + 5345, + 4506, + 4585, + 4655, + 4246, + 5094, + 4026, + 2578, + 2764, + 2847, + 3876, + 4178, + 1622, + 2867, + 2598, + 2726, + 3183, + 4708, + 5217, + 5121, + 4546, + 4656, + 5291, + 7749, + 5007, + 5336, + 4657, + 4192, + 3847, + 5155, + 4044, + 2892, + 2058, + 1647, + 105 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 11, + 0, + 16, + 72, + 133, + 189, + 169, + 310, + 396, + 347, + 301, + 369, + 501, + 307, + 263, + 168, + 226, + 311, + 327, + 348, + 121, + 0, + 12, + 7, + 31, + 1, + 84, + 104, + 235, + 25, + 119, + 0, + 0, + 33, + 252, + 647, + 116, + 268, + 55, + 776, + 743, + 441, + 161, + 78, + 297, + 480, + 36 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-30.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-30.json new file mode 100644 index 0000000..baa5546 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-30.json @@ -0,0 +1,111 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 950312, + 1917029, + 2191866, + 1547980, + 2337472, + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62885 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 167121, + 1210771, + 741325, + 1077569, + 1947403, + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 244276 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-7.json new file mode 100644 index 0000000..41bfbda --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-7.json @@ -0,0 +1,42 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62269 + ] + }, + { + "scope": "group:friends", + "points": [ + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 242473 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-3.json new file mode 100644 index 0000000..4deaaff --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-3.json @@ -0,0 +1,30 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 21872034 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 16037192 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-6.json similarity index 68% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json rename to webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-6.json index 1107db8..17ee125 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "tokout", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,24 +11,29 @@ ], "series": [ { - "scope": "group:projects", + "scope": "group:home", "points": [ 0, 0, 0, 0, 0, + 21872034 + ] + }, + { + "scope": "group:friends", + "points": [ 0, 0, 0, 0, 0, - 0, - 0 + 16037192 ] } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-30.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-30.json new file mode 100644 index 0000000..7054d03 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-30.json @@ -0,0 +1,111 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 26302931, + 265190411, + 145170318, + 205747306, + 466067994, + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 110848305 + ] + }, + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 17869407, + 401906776, + 438040293, + 52376767, + 209426744, + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6619166 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-7.json new file mode 100644 index 0000000..e6d0f63 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-7.json @@ -0,0 +1,42 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 109093817 + ] + }, + { + "scope": "group:home", + "points": [ + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6616864 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-48.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-48.json new file mode 100644 index 0000000..6a3a7c1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-48.json @@ -0,0 +1,165 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 900334, + 0, + 1187342, + 6729191, + 13457812, + 25632743, + 24783380, + 44038366, + 60340141, + 50160135, + 46733740, + 60688354, + 73646165, + 55129567, + 45735429, + 31977647, + 29424853, + 30627984, + 41232940, + 52350989, + 20740714, + 0, + 1538308, + 382715, + 3309735, + 1651, + 13061603, + 10465491, + 36339699, + 3618018, + 17519941, + 0, + 0, + 7015336, + 27420333, + 100542336, + 16736756, + 49483534, + 10333509, + 91037849, + 179485345, + 50041563, + 38912751, + 17834536, + 59134572, + 96602598, + 11793963 + ] + }, + { + "scope": "group:home", + "points": [ + 1016860, + 8532598, + 12270281, + 82500, + 33643976, + 12215340, + 659309, + 9298510, + 3085259, + 2258941, + 26594927, + 5435305, + 8490042, + 6471966, + 3384793, + 5466276, + 982054, + 1883494, + 9521180, + 2500696, + 229883, + 265140, + 674245, + 4967832, + 6203191, + 3132111, + 9417592, + 16471649, + 261412, + 2335366, + 2361286, + 6630009, + 1679237, + 1155400, + 1204917, + 1638668, + 25408815, + 4520334, + 1597301, + 791760, + 1379144, + 3054625, + 1276125, + 3529159, + 238050, + 96131, + 2547390, + 3853063 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-3.json new file mode 100644 index 0000000..858e512 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-3.json @@ -0,0 +1,30 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 3973568175 + ] + }, + { + "scope": "group:home", + "points": [ + 0, + 0, + 1819990209 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-6.json similarity index 68% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json rename to webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-6.json index 6901eba..00efa34 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "tokin", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,24 +11,29 @@ ], "series": [ { - "scope": "group:projects", + "scope": "group:friends", "points": [ 0, 0, 0, 0, 0, + 3973568175 + ] + }, + { + "scope": "group:home", + "points": [ 0, 0, 0, 0, 0, - 0, - 0 + 1819990209 ] } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-25.json similarity index 57% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json rename to webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-25.json index d4a790a..2d6c0ab 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-25.json @@ -1,7 +1,18 @@ { - "metric": "tokin", + "metric": "cost", "window": "day", "buckets": [ + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", "20261112", "20261113", "20261114", @@ -19,7 +30,7 @@ ], "series": [ { - "scope": "group:projects", + "scope": "group:friends", "points": [ 0, 0, @@ -34,11 +45,22 @@ 0, 0, 0, + 0, + 33361, + 0, + 0, + 0, + 76, + 0, + 16000, + 1101, + 0, + 0, 0 ] } ], "unknown": [], - "span": 14, + "span": 25, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..9f797b1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 33361, + 0, + 0, + 0, + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..f972c1c --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-48.json similarity index 52% rename from webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json rename to webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-48.json index be29218..92c1553 100644 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-48.json @@ -2,6 +2,30 @@ "metric": "cost", "window": "hour", "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", "2026112402", "2026112403", "2026112404", @@ -29,7 +53,7 @@ ], "series": [ { - "scope": "user:service-01", + "scope": "group:friends", "points": [ 0, 0, @@ -51,7 +75,31 @@ 0, 0, 0, - 2145, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, 0, 0, 0 @@ -59,6 +107,6 @@ } ], "unknown": [], - "span": 24, + "span": 48, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..85f99a1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 50538 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-6.json similarity index 58% rename from webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json rename to webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-6.json index 8a4a10c..ae6df89 100644 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "cost", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,24 +11,18 @@ ], "series": [ { - "scope": "user:service-01", + "scope": "group:friends", "points": [ 0, 0, 0, 0, 0, - 0, - 0, - 0, - 0, - 0, - 0, - 18015 + 50538 ] } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-30.json new file mode 100644 index 0000000..4381a54 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 268, + 1888, + 1060, + 1478, + 3150, + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 522 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-7.json new file mode 100644 index 0000000..5bec1cb --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 518 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-48.json new file mode 100644 index 0000000..854b1c2 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 11, + 0, + 16, + 72, + 133, + 189, + 169, + 310, + 396, + 347, + 301, + 369, + 501, + 307, + 263, + 168, + 226, + 311, + 327, + 348, + 121, + 0, + 12, + 7, + 31, + 1, + 84, + 104, + 235, + 25, + 119, + 0, + 0, + 33, + 252, + 647, + 116, + 268, + 55, + 776, + 743, + 441, + 161, + 78, + 297, + 480, + 36 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-3.json new file mode 100644 index 0000000..7caba0b --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-6.json similarity index 60% rename from webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json rename to webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-6.json index 96031c3..acf1b0a 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "req", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,14 +11,8 @@ ], "series": [ { - "scope": "group:projects", + "scope": "group:friends", "points": [ - 0, - 0, - 0, - 0, - 0, - 0, 0, 0, 0, @@ -35,6 +23,6 @@ } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-30.json new file mode 100644 index 0000000..bbe2a65 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 26302931, + 265190411, + 145170318, + 205747306, + 466067994, + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 110848305 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-7.json new file mode 100644 index 0000000..8d7882f --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 109093817 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-48.json new file mode 100644 index 0000000..2017c6d --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 900334, + 0, + 1187342, + 6729191, + 13457812, + 25632743, + 24783380, + 44038366, + 60340141, + 50160135, + 46733740, + 60688354, + 73646165, + 55129567, + 45735429, + 31977647, + 29424853, + 30627984, + 41232940, + 52350989, + 20740714, + 0, + 1538308, + 382715, + 3309735, + 1651, + 13061603, + 10465491, + 36339699, + 3618018, + 17519941, + 0, + 0, + 7015336, + 27420333, + 100542336, + 16736756, + 49483534, + 10333509, + 91037849, + 179485345, + 50041563, + 38912751, + 17834536, + 59134572, + 96602598, + 11793963 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-3.json new file mode 100644 index 0000000..b4ebc01 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 3973568175 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-6.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-6.json new file mode 100644 index 0000000..ad81005 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 3973568175 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-30.json new file mode 100644 index 0000000..7788a3a --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 167121, + 1210771, + 741325, + 1077569, + 1947403, + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 244276 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-7.json new file mode 100644 index 0000000..bd7a3e3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 242473 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-48.json new file mode 100644 index 0000000..524dc1f --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 7438, + 0, + 19980, + 35544, + 67731, + 108191, + 101610, + 183654, + 173501, + 207448, + 170571, + 169636, + 241880, + 175038, + 169201, + 111544, + 112670, + 139124, + 173263, + 183039, + 60338, + 0, + 4418, + 454, + 20552, + 25, + 58957, + 56668, + 145740, + 11137, + 110290, + 0, + 0, + 18837, + 162381, + 272668, + 44975, + 177593, + 54950, + 358924, + 342101, + 134801, + 67072, + 7420, + 134091, + 224176, + 16971 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-3.json new file mode 100644 index 0000000..665a6c1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 16037192 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-6.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-6.json new file mode 100644 index 0000000..3018489 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 16037192 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-25.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-25.json new file mode 100644 index 0000000..e068e79 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-25.json @@ -0,0 +1,66 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 397894, + 99572, + 112790, + 37125, + 9334245, + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 25, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..6686868 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 397894, + 99572, + 112790, + 37125, + 9334245, + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..ec0903a --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-48.json new file mode 100644 index 0000000..de9b266 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 173025, + 470, + 447, + 479, + 59683, + 447, + 434, + 320853, + 462156, + 438, + 1261059, + 577111, + 456, + 79075, + 496946, + 370379, + 438, + 464, + 508, + 454, + 460, + 454, + 459, + 64243, + 449, + 461, + 440, + 425, + 441, + 455, + 469, + 476, + 487, + 455, + 439, + 448, + 459, + 447, + 466, + 439, + 478, + 10029, + 464, + 428, + 2601, + 436, + 425, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..2dee320 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 15518522 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-6.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-6.json new file mode 100644 index 0000000..6a14df9 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 15518522 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-30.json new file mode 100644 index 0000000..d8e6525 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 63138, + 50371, + 79726, + 71694, + 74276, + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1811 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-7.json new file mode 100644 index 0000000..3a018e6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1754 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-48.json new file mode 100644 index 0000000..667b8ad --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 2388, + 2049, + 1844, + 1446, + 2578, + 3007, + 3647, + 4909, + 5026, + 5893, + 6406, + 5402, + 7371, + 5345, + 4506, + 4585, + 4655, + 4246, + 5094, + 4026, + 2578, + 2764, + 2847, + 3876, + 4178, + 1622, + 2867, + 2598, + 2726, + 3183, + 4708, + 5217, + 5121, + 4546, + 4656, + 5291, + 7749, + 5007, + 5336, + 4657, + 4192, + 3847, + 5155, + 4044, + 2892, + 2058, + 1647, + 105 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-3.json new file mode 100644 index 0000000..a6723d5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-6.json similarity index 60% rename from webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json rename to webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-6.json index e039e4c..29c7514 100644 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-6.json @@ -2,12 +2,6 @@ "metric": "req", "window": "month", "buckets": [ - "202512", - "202601", - "202602", - "202603", - "202604", - "202605", "202606", "202607", "202608", @@ -17,14 +11,8 @@ ], "series": [ { - "scope": "user:service-01", + "scope": "group:home", "points": [ - 0, - 0, - 0, - 0, - 0, - 0, 0, 0, 0, @@ -35,6 +23,6 @@ } ], "unknown": [], - "span": 12, + "span": 6, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-30.json new file mode 100644 index 0000000..fbe2abf --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 17869407, + 401906776, + 438040293, + 52376767, + 209426744, + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6619166 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-7.json new file mode 100644 index 0000000..8ecbbb5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6616864 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-48.json new file mode 100644 index 0000000..27a8036 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 1016860, + 8532598, + 12270281, + 82500, + 33643976, + 12215340, + 659309, + 9298510, + 3085259, + 2258941, + 26594927, + 5435305, + 8490042, + 6471966, + 3384793, + 5466276, + 982054, + 1883494, + 9521180, + 2500696, + 229883, + 265140, + 674245, + 4967832, + 6203191, + 3132111, + 9417592, + 16471649, + 261412, + 2335366, + 2361286, + 6630009, + 1679237, + 1155400, + 1204917, + 1638668, + 25408815, + 4520334, + 1597301, + 791760, + 1379144, + 3054625, + 1276125, + 3529159, + 238050, + 96131, + 2547390, + 3853063 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-3.json new file mode 100644 index 0000000..dc8e0a7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 1819990209 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-6.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-6.json new file mode 100644 index 0000000..73fc859 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1819990209 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-30.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-30.json new file mode 100644 index 0000000..1572255 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 950312, + 1917029, + 2191866, + 1547980, + 2337472, + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62885 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-7.json new file mode 100644 index 0000000..5b850c5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62269 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-48.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-48.json new file mode 100644 index 0000000..041e5fa --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 47437, + 198399, + 82811, + 6416, + 362972, + 105225, + 52092, + 211421, + 73793, + 115144, + 424392, + 113293, + 172338, + 80171, + 177660, + 104076, + 108325, + 124250, + 116645, + 49115, + 16005, + 29388, + 27187, + 203722, + 272827, + 22800, + 213803, + 79687, + 26548, + 103865, + 80332, + 158288, + 84935, + 104866, + 84892, + 67710, + 232413, + 97853, + 90422, + 58163, + 89614, + 171866, + 57728, + 63531, + 3349, + 18066, + 42403, + 19296 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-3.json new file mode 100644 index 0000000..54476e0 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 21872034 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-6.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-6.json new file mode 100644 index 0000000..466a6e1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 21872034 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-25.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-25.json new file mode 100644 index 0000000..24b3845 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-25.json @@ -0,0 +1,66 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 397894, + 132933, + 112790, + 37125, + 9334245, + 155547, + 62813, + 89467, + 954625, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 25, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..dbbd52f --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 397894, + 132933, + 112790, + 37125, + 9334245, + 155547, + 62813, + 89467, + 954625, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..128836a --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 155547, + 62813, + 89467, + 954625, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7_offset-7.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7_offset-7.json new file mode 100644 index 0000000..c34f07a --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-7_offset-7.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 397894, + 132933, + 112790, + 37125, + 9334245 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 7 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-48.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-48.json new file mode 100644 index 0000000..19cd864 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 173025, + 470, + 447, + 479, + 59683, + 447, + 434, + 320853, + 462156, + 438, + 1261059, + 577111, + 456, + 79075, + 496946, + 370379, + 438, + 464, + 508, + 454, + 460, + 454, + 459, + 64243, + 449, + 461, + 440, + 425, + 441, + 455, + 469, + 476, + 487, + 455, + 439, + 448, + 459, + 447, + 466, + 439, + 478, + 10029, + 464, + 428, + 2601, + 436, + 425, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..24b86a9 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 15569060 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6.json new file mode 100644 index 0000000..af9d356 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 15569060 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6_offset-6.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6_offset-6.json new file mode 100644 index 0000000..87b24f8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-6_offset-6.json @@ -0,0 +1,28 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 6 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-30.json new file mode 100644 index 0000000..6ba3f96 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "r402", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-7.json new file mode 100644 index 0000000..fc762af --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "r402", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-48.json similarity index 52% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json rename to webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-48.json index a5d9e98..20539b1 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json +++ b/webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-48.json @@ -1,7 +1,31 @@ { - "metric": "tokin", + "metric": "r402", "window": "hour", "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", "2026112402", "2026112403", "2026112404", @@ -29,8 +53,32 @@ ], "series": [ { - "scope": "group:projects", + "scope": "total", "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, 0, 0, 0, @@ -59,6 +107,6 @@ } ], "unknown": [], - "span": 24, + "span": 48, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-30.json new file mode 100644 index 0000000..ff1f782 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "rej", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-7.json new file mode 100644 index 0000000..a36ffab --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "rej", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 11 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-48.json similarity index 52% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json rename to webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-48.json index 4abc535..ef84fbb 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json +++ b/webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-48.json @@ -1,7 +1,31 @@ { - "metric": "tokout", + "metric": "rej", "window": "hour", "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", "2026112402", "2026112403", "2026112404", @@ -29,7 +53,7 @@ ], "series": [ { - "scope": "group:projects", + "scope": "total", "points": [ 0, 0, @@ -54,11 +78,35 @@ 0, 0, 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11, 0 ] } ], "unknown": [], - "span": 24, + "span": 48, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-30.json new file mode 100644 index 0000000..b02dcce --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 63406, + 52259, + 80786, + 73172, + 77426, + 72915, + 69580, + 54791, + 65262, + 98468, + 102858, + 2333 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7.json new file mode 100644 index 0000000..40a6a15 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 72915, + 69580, + 54791, + 65262, + 98468, + 102858, + 2271 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7_offset-7.json b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7_offset-7.json new file mode 100644 index 0000000..57e9cc8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-7_offset-7.json @@ -0,0 +1,30 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 63406, + 52259, + 80786, + 73172, + 77426 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 7 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-48.json b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-48.json new file mode 100644 index 0000000..1b17630 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 2388, + 2060, + 1844, + 1462, + 2650, + 3140, + 3836, + 5078, + 5336, + 6289, + 6753, + 5703, + 7740, + 5846, + 4813, + 4848, + 4823, + 4472, + 5405, + 4353, + 2926, + 2885, + 2847, + 3888, + 4185, + 1653, + 2868, + 2682, + 2830, + 3418, + 4733, + 5336, + 5121, + 4546, + 4689, + 5543, + 8396, + 5123, + 5604, + 4712, + 4968, + 4590, + 5596, + 4205, + 2970, + 2355, + 2127, + 141 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3.json new file mode 100644 index 0000000..8eb9487 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6.json b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6.json new file mode 100644 index 0000000..dfa47f3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6_offset-6.json b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6_offset-6.json new file mode 100644 index 0000000..ac9be22 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-6_offset-6.json @@ -0,0 +1,28 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 6 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-30.json new file mode 100644 index 0000000..f603bfc --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 44172338, + 667097187, + 583210611, + 258124073, + 675494738, + 526102094, + 560366453, + 54730397, + 559316797, + 913127630, + 834239940, + 117467471 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7.json new file mode 100644 index 0000000..afa6e1a --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 526102094, + 560366453, + 54730397, + 559316797, + 913127630, + 834239940, + 115710681 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7_offset-7.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7_offset-7.json new file mode 100644 index 0000000..9e3bbcf --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-7_offset-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 44172338, + 667097187, + 583210611, + 258124073, + 675494738 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 7 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-48.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-48.json new file mode 100644 index 0000000..598ec2d --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 1016860, + 9432932, + 12270281, + 1269842, + 40373167, + 25673152, + 26292052, + 34081890, + 47123625, + 62599082, + 76755062, + 52169045, + 69178396, + 80118131, + 58514360, + 51201705, + 32959701, + 31308347, + 40149164, + 43733636, + 52580872, + 21005854, + 674245, + 6506140, + 6585906, + 6441846, + 9419243, + 29533252, + 10726903, + 38675065, + 5979304, + 24149950, + 1679237, + 1155400, + 8220253, + 29059001, + 125951151, + 21257090, + 51080835, + 11125269, + 92416993, + 182539970, + 51317688, + 42441910, + 18072586, + 59230703, + 99149988, + 15647026 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3.json new file mode 100644 index 0000000..5cafbd4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 5793558384 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6.json new file mode 100644 index 0000000..2185dce --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 5793558384 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6_offset-6.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6_offset-6.json new file mode 100644 index 0000000..2117983 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-6_offset-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 6 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-30.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-30.json new file mode 100644 index 0000000..c8f72ec --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1117433, + 3127800, + 2933191, + 2625549, + 4284875, + 3680606, + 3493893, + 1374692, + 4695786, + 5668703, + 4598521, + 307161 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7.json new file mode 100644 index 0000000..f7ffa6f --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 3680606, + 3493893, + 1374692, + 4695786, + 5668703, + 4598521, + 304742 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7_offset-7.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7_offset-7.json new file mode 100644 index 0000000..38d14b1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-7_offset-7.json @@ -0,0 +1,30 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 1117433, + 3127800, + 2933191, + 2625549, + 4284875 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 7 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-48.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-48.json new file mode 100644 index 0000000..651d779 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 47437, + 205837, + 82811, + 26396, + 398516, + 172956, + 160283, + 313031, + 257447, + 288645, + 631840, + 283864, + 341974, + 322051, + 352698, + 273277, + 219869, + 236920, + 255769, + 222378, + 199044, + 89726, + 27187, + 208140, + 273281, + 43352, + 213828, + 138644, + 83216, + 249605, + 91469, + 268578, + 84935, + 104866, + 103729, + 230091, + 505081, + 142828, + 268015, + 113113, + 448538, + 513967, + 192529, + 130603, + 10769, + 152157, + 266579, + 36267 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3.json new file mode 100644 index 0000000..7bf0b72 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 37909226 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6.json new file mode 100644 index 0000000..2a2d054 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 37909226 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6_offset-6.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6_offset-6.json new file mode 100644 index 0000000..7427530 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-6_offset-6.json @@ -0,0 +1,28 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 6 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-25.json similarity index 61% rename from webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json rename to webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-25.json index 143f9a0..2e3dba3 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-25.json @@ -2,6 +2,17 @@ "metric": "cost", "window": "day", "buckets": [ + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", "20261112", "20261113", "20261114", @@ -19,7 +30,7 @@ ], "series": [ { - "scope": "group:projects", + "scope": "user:admin", "points": [ 0, 0, @@ -34,11 +45,22 @@ 0, 0, 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, 0 ] } ], "unknown": [], - "span": 14, + "span": 25, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..af141f6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-7.json similarity index 57% rename from webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json rename to webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-7.json index c6bf65e..5f2459c 100644 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-7.json @@ -2,13 +2,6 @@ "metric": "cost", "window": "day", "buckets": [ - "20261112", - "20261113", - "20261114", - "20261115", - "20261116", - "20261117", - "20261118", "20261119", "20261120", "20261121", @@ -19,7 +12,7 @@ ], "series": [ { - "scope": "user:service-01", + "scope": "user:admin", "points": [ 0, 0, @@ -27,18 +20,11 @@ 0, 0, 0, - 0, - 4270, - 0, - 0, - 2194, - 9406, - 2145, 0 ] } ], "unknown": [], - "span": 14, + "span": 7, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-48.json similarity index 53% rename from webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json rename to webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-48.json index 7314e87..a3f5144 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-48.json @@ -2,6 +2,30 @@ "metric": "cost", "window": "hour", "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", "2026112402", "2026112403", "2026112404", @@ -29,8 +53,32 @@ ], "series": [ { - "scope": "group:projects", + "scope": "user:admin", "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, 0, 0, 0, @@ -59,6 +107,6 @@ } ], "unknown": [], - "span": 24, + "span": 48, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..970a56d --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-6.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-6.json new file mode 100644 index 0000000..e6c1e58 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-30.json new file mode 100644 index 0000000..b3b5316 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 81, + 7 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-7.json similarity index 56% rename from webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json rename to webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-7.json index a1ffa1b..914e7ee 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-7.json @@ -2,13 +2,6 @@ "metric": "req", "window": "day", "buckets": [ - "20261112", - "20261113", - "20261114", - "20261115", - "20261116", - "20261117", - "20261118", "20261119", "20261120", "20261121", @@ -19,26 +12,19 @@ ], "series": [ { - "scope": "group:projects", + "scope": "user:admin", "points": [ 0, 0, 0, 0, 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 + 81, + 7 ] } ], "unknown": [], - "span": 14, + "span": 7, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-48.json similarity index 53% rename from webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json rename to webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-48.json index 76da3a0..f0a8984 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-48.json @@ -2,6 +2,30 @@ "metric": "req", "window": "hour", "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", "2026112402", "2026112403", "2026112404", @@ -29,7 +53,7 @@ ], "series": [ { - "scope": "group:projects", + "scope": "user:admin", "points": [ 0, 0, @@ -54,11 +78,35 @@ 0, 0, 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 40, + 0, + 0, + 0, + 9, + 8, + 8, + 16, + 7, 0 ] } ], "unknown": [], - "span": 24, + "span": 48, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-3.json new file mode 100644 index 0000000..ce620e3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-6.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-6.json new file mode 100644 index 0000000..73c56fd --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-25.json similarity index 56% rename from webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json rename to webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-25.json index f93943b..3437972 100644 --- a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-25.json @@ -1,7 +1,18 @@ { - "metric": "tokout", + "metric": "cost", "window": "day", "buckets": [ + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", "20261112", "20261113", "20261114", @@ -19,7 +30,7 @@ ], "series": [ { - "scope": "group:projects", + "scope": "user:internal", "points": [ 0, 0, @@ -34,11 +45,22 @@ 0, 0, 0, + 0, + 0, + 0, + 0, + 9187446, + 0, + 0, + 0, + 707542, + 4170396, + 63830, 0 ] } ], "unknown": [], - "span": 14, + "span": 25, "offset": 0 } \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-30.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-30.json new file mode 100644 index 0000000..1c40a5c --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 9187446, + 0, + 0, + 0, + 707542, + 4170396, + 63830, + 0 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..a2b243c --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 707542, + 4170396, + 63830, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-48.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-48.json new file mode 100644 index 0000000..7add53a --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 172562, + 0, + 0, + 0, + 59215, + 0, + 0, + 311049, + 461676, + 0, + 1246579, + 576653, + 0, + 78629, + 496479, + 369886, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 63830, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-3.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-3.json new file mode 100644 index 0000000..00f5430 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 14129214 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-6.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-6.json new file mode 100644 index 0000000..0b0e288 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 14129214 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-30.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-30.json new file mode 100644 index 0000000..c4dffc6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-30.json @@ -0,0 +1,76 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261027", + "20261028", + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111", + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 62236, + 46606, + 77097, + 70710, + 72851, + 68396, + 65088, + 52878, + 62002, + 92311, + 97133, + 1587 + ] + } + ], + "unknown": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-7.json new file mode 100644 index 0000000..b113f90 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-7.json @@ -0,0 +1,30 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 68396, + 65088, + 52878, + 62002, + 92311, + 97133, + 1533 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-48.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-48.json new file mode 100644 index 0000000..9cc6f6f --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-48.json @@ -0,0 +1,112 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 2265, + 2028, + 1836, + 1438, + 2554, + 2824, + 3462, + 4612, + 5010, + 5874, + 6389, + 5386, + 7338, + 5312, + 4489, + 4570, + 4639, + 4225, + 5078, + 4012, + 2543, + 2756, + 2805, + 3791, + 4148, + 1614, + 2859, + 2590, + 2702, + 3000, + 4522, + 4988, + 5105, + 4513, + 4640, + 5272, + 7718, + 4991, + 5278, + 4556, + 4176, + 3809, + 5132, + 4022, + 2868, + 2034, + 1473, + 59 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-3.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-3.json new file mode 100644 index 0000000..0e4479c --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-6.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-6.json new file mode 100644 index 0000000..3618027 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-6.json @@ -0,0 +1,28 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json deleted file mode 100644 index 2b4f39d..0000000 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "metric": "req", - "window": "day", - "buckets": [ - "20261112", - "20261113", - "20261114", - "20261115", - "20261116", - "20261117", - "20261118", - "20261119", - "20261120", - "20261121", - "20261122", - "20261123", - "20261124", - "20261125" - ], - "series": [ - { - "scope": "user:service-01", - "points": [ - 0, - 0, - 726, - 798, - 736, - 720, - 712, - 733, - 725, - 738, - 762, - 775, - 727, - 3 - ] - } - ], - "unknown": [], - "span": 14, - "offset": 0 -} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json deleted file mode 100644 index aeb77d9..0000000 --- a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "metric": "req", - "window": "hour", - "buckets": [ - "2026112402", - "2026112403", - "2026112404", - "2026112405", - "2026112406", - "2026112407", - "2026112408", - "2026112409", - "2026112410", - "2026112411", - "2026112412", - "2026112413", - "2026112414", - "2026112415", - "2026112416", - "2026112417", - "2026112418", - "2026112419", - "2026112420", - "2026112421", - "2026112422", - "2026112423", - "2026112500", - "2026112501" - ], - "series": [ - { - "scope": "user:service-01", - "points": [ - 2, - 2, - 2, - 2, - 18, - 177, - 180, - 205, - 10, - 10, - 10, - 13, - 8, - 10, - 10, - 10, - 10, - 17, - 8, - 8, - 9, - 2, - 2, - 1 - ] - } - ], - "unknown": [], - "span": 24, - "offset": 0 -} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-30.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-30.json new file mode 100644 index 0000000..8736b5f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-30.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522 + }, + "id": "home" + }, + { + "values": { + "cost": 50538 + }, + "id": "friends" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-7.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-7.json new file mode 100644 index 0000000..6845a54 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-7.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 5536896 + }, + "id": "home" + }, + { + "values": { + "cost": 17177 + }, + "id": "friends" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-48.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-48.json new file mode 100644 index 0000000..6d88ea1 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-48.json @@ -0,0 +1,17 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 3893055 + }, + "id": "home" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-3.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-3.json new file mode 100644 index 0000000..67adc1d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-3.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522 + }, + "id": "home" + }, + { + "values": { + "cost": 50538 + }, + "id": "friends" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-6.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-6.json new file mode 100644 index 0000000..afc98e8 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-6.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522 + }, + "id": "home" + }, + { + "values": { + "cost": 50538 + }, + "id": "friends" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-30.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-30.json new file mode 100644 index 0000000..ea01cb7 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-30.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522, + "req": 785354, + "tokin": 1817962220, + "tokout": 21861263 + }, + "id": "home" + }, + { + "values": { + "cost": 50538, + "req": 27792, + "tokin": 3963750594, + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-7.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-7.json new file mode 100644 index 0000000..f36b40a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-7.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 5536896, + "req": 446149, + "tokin": 698249683, + "tokout": 12916320 + }, + "id": "home" + }, + { + "values": { + "cost": 17177, + "req": 19948, + "tokin": 2855271634, + "tokout": 10879376 + }, + "id": "friends" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-48.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-48.json new file mode 100644 index 0000000..566c947 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-48.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 3893055, + "req": 189867, + "tokin": 258828723, + "tokout": 5238398 + }, + "id": "home" + }, + { + "values": { + "cost": 0, + "req": 9863, + "tokin": 1550442956, + "tokout": 5025685 + }, + "id": "friends" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-3.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-3.json new file mode 100644 index 0000000..0b57007 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-3.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 50538, + "req": 0, + "tokin": 3963750594, + "tokout": 16023565 + }, + "id": "friends" + }, + { + "values": { + "cost": 15518522, + "req": 0, + "tokin": 1817962220, + "tokout": 21861263 + }, + "id": "home" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-6.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-6.json new file mode 100644 index 0000000..7f3fc60 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-6.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 50538, + "req": 0, + "tokin": 3963750594, + "tokout": 16023565 + }, + "id": "friends" + }, + { + "values": { + "cost": 15518522, + "req": 0, + "tokin": 1817962220, + "tokout": 21861263 + }, + "id": "home" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-30.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-30.json new file mode 100644 index 0000000..4ef0254 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-30.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 785354 + }, + "id": "home" + }, + { + "values": { + "req": 27792 + }, + "id": "friends" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-7.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-7.json new file mode 100644 index 0000000..84c8b98 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-7.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 446148 + }, + "id": "home" + }, + { + "values": { + "req": 19948 + }, + "id": "friends" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-48.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-48.json new file mode 100644 index 0000000..a44243a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-48.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 189867 + }, + "id": "home" + }, + { + "values": { + "req": 9863 + }, + "id": "friends" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-3.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-3.json new file mode 100644 index 0000000..dc22878 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-3.json @@ -0,0 +1,10 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-6.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-6.json new file mode 100644 index 0000000..c80e2b2 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-6.json @@ -0,0 +1,10 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-30.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-30.json new file mode 100644 index 0000000..37b149b --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-30.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 3963750594 + }, + "id": "friends" + }, + { + "values": { + "tokin": 1817962220 + }, + "id": "home" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-7.json new file mode 100644 index 0000000..4745046 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-7.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 2855271634 + }, + "id": "friends" + }, + { + "values": { + "tokin": 698249683 + }, + "id": "home" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-48.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-48.json new file mode 100644 index 0000000..9ee317d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-48.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 1550442956 + }, + "id": "friends" + }, + { + "values": { + "tokin": 258828723 + }, + "id": "home" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-3.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-3.json new file mode 100644 index 0000000..0ca3066 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-3.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 3963750594 + }, + "id": "friends" + }, + { + "values": { + "tokin": 1817962220 + }, + "id": "home" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-6.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-6.json new file mode 100644 index 0000000..eb03a1e --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-6.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 3963750594 + }, + "id": "friends" + }, + { + "values": { + "tokin": 1817962220 + }, + "id": "home" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-30.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-30.json new file mode 100644 index 0000000..573b3f5 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-30.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 21861263 + }, + "id": "home" + }, + { + "values": { + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-7.json new file mode 100644 index 0000000..bd20c78 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-7.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 12916320 + }, + "id": "home" + }, + { + "values": { + "tokout": 10879376 + }, + "id": "friends" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-48.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-48.json new file mode 100644 index 0000000..ddefde6 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-48.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 5238398 + }, + "id": "home" + }, + { + "values": { + "tokout": 5025685 + }, + "id": "friends" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-3.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-3.json new file mode 100644 index 0000000..d700ecc --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-3.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 21861263 + }, + "id": "home" + }, + { + "values": { + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-6.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-6.json new file mode 100644 index 0000000..bc4a755 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-6.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 21861263 + }, + "id": "home" + }, + { + "values": { + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-30_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-30_limit-10.json new file mode 100644 index 0000000..9cd2de6 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-30_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 20939 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 10377 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 9809 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 9660 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 9610 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 9601 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 9544 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 9460 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 9444 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4152 + }, + "id": "mcp/time/internal" + } + ], + "span": 30, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10.json new file mode 100644 index 0000000..3cd5005 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 12759 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 7970 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 7341 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 7266 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 7240 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 7218 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 7172 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 7088 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 7073 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4147 + }, + "id": "mcp/time/internal" + } + ], + "span": 7, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-3_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-3_limit-10.json new file mode 100644 index 0000000..0cf86ac --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-3_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "month", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 20939 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 10377 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 9809 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 9660 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 9610 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 9601 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 9544 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 9460 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 9444 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4152 + }, + "id": "mcp/time/internal" + } + ], + "span": 3, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-6_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-6_limit-10.json new file mode 100644 index 0000000..81440f3 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-6_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "month", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 20939 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 10377 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 9809 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 9660 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 9610 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 9601 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 9544 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 9460 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 9444 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4152 + }, + "id": "mcp/time/internal" + } + ], + "span": 6, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-30_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-30_offset-0_limit-1000.json new file mode 100644 index 0000000..4d83a71 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-30_offset-0_limit-1000.json @@ -0,0 +1,47 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214 + }, + "id": "internal" + }, + { + "values": { + "cost": 1371293 + }, + "id": "user-20" + }, + { + "values": { + "cost": 33361 + }, + "id": "user-05" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-7_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-7_offset-0_limit-1000.json new file mode 100644 index 0000000..12db038 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-7_offset-0_limit-1000.json @@ -0,0 +1,41 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 4941768 + }, + "id": "internal" + }, + { + "values": { + "cost": 577113 + }, + "id": "user-20" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-48_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-48_offset-0_limit-1000.json new file mode 100644 index 0000000..2dd785b --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-48_offset-0_limit-1000.json @@ -0,0 +1,29 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 3836558 + }, + "id": "internal" + }, + { + "values": { + "cost": 44946 + }, + "id": "user-20" + }, + { + "values": { + "cost": 11551 + }, + "id": "service-01" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-3_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-3_offset-0_limit-1000.json new file mode 100644 index 0000000..9f9180c --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-3_offset-0_limit-1000.json @@ -0,0 +1,47 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214 + }, + "id": "internal" + }, + { + "values": { + "cost": 1371293 + }, + "id": "user-20" + }, + { + "values": { + "cost": 33361 + }, + "id": "user-05" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-6_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-6_offset-0_limit-1000.json new file mode 100644 index 0000000..1f713b1 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-6_offset-0_limit-1000.json @@ -0,0 +1,47 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214 + }, + "id": "internal" + }, + { + "values": { + "cost": 1371293 + }, + "id": "user-20" + }, + { + "values": { + "cost": 33361 + }, + "id": "user-05" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-friends.json new file mode 100644 index 0000000..cc3bf0b --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-friends.json @@ -0,0 +1,77 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 144, + "req": 23868, + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "cost": 0, + "req": 2693, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 17033, + "req": 538, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 341, + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 182, + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "cost": 0, + "req": 174, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 33361, + "req": 7, + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-home.json new file mode 100644 index 0000000..9ae271b --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214, + "req": 768837, + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "cost": 18015, + "req": 8154, + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "cost": 0, + "req": 6502, + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "cost": 1371293, + "req": 1650, + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "cost": 0, + "req": 124, + "tokin": 4602252, + "tokout": 43542 + }, + "id": "user-16" + }, + { + "values": { + "cost": 0, + "req": 88, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-projects.json new file mode 100644 index 0000000..6098a24 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-friends.json new file mode 100644 index 0000000..f184717 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-friends.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 144, + "req": 16331, + "tokin": 2311518200, + "tokout": 9197182 + }, + "id": "user-03" + }, + { + "values": { + "cost": 0, + "req": 2693, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 17033, + "req": 538, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 174, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 126, + "tokin": 1592969, + "tokout": 21384 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 97, + "tokin": 3221346, + "tokout": 64297 + }, + "id": "user-18" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-home.json new file mode 100644 index 0000000..46567b6 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 4941768, + "req": 439337, + "tokin": 681946587, + "tokout": 11736568 + }, + "id": "internal" + }, + { + "values": { + "cost": 18015, + "req": 4462, + "tokin": 8892595, + "tokout": 478460 + }, + "id": "service-01" + }, + { + "values": { + "cost": 0, + "req": 1230, + "tokin": 2045489, + "tokout": 330474 + }, + "id": "user-13" + }, + { + "values": { + "cost": 577113, + "req": 909, + "tokin": 640644, + "tokout": 320624 + }, + "id": "user-20" + }, + { + "values": { + "cost": 0, + "req": 123, + "tokin": 4509702, + "tokout": 43258 + }, + "id": "user-16" + }, + { + "values": { + "cost": 0, + "req": 88, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-projects.json similarity index 57% rename from webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json rename to webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-projects.json index f124d8f..54452fe 100644 --- a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-projects.json @@ -1,8 +1,11 @@ { - "kind": "targetcaller", + "kind": "user", "window": "day", "metrics": [ - "req" + "req", + "tokin", + "tokout", + "cost" ], "rows": [], "span": 7, diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-friends.json new file mode 100644 index 0000000..5db00d1 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-friends.json @@ -0,0 +1,50 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 6984, + "tokin": 1028723704, + "tokout": 3693486 + }, + "id": "user-03" + }, + { + "values": { + "cost": 0, + "req": 2693, + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "cost": 0, + "req": 174, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 23, + "tokin": 34836, + "tokout": 2529 + }, + "id": "user-08" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-home.json new file mode 100644 index 0000000..97fd038 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 3836558, + "req": 187302, + "tokin": 249932380, + "tokout": 4996794 + }, + "id": "internal" + }, + { + "values": { + "cost": 11551, + "req": 1500, + "tokin": 2985017, + "tokout": 158174 + }, + "id": "service-01" + }, + { + "values": { + "cost": 0, + "req": 572, + "tokin": 1184821, + "tokout": 19706 + }, + "id": "user-13" + }, + { + "values": { + "cost": 44946, + "req": 283, + "tokin": 94385, + "tokout": 13813 + }, + "id": "user-20" + }, + { + "values": { + "cost": 0, + "req": 122, + "tokin": 4509702, + "tokout": 43258 + }, + "id": "user-16" + }, + { + "values": { + "cost": 0, + "req": 88, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-projects.json new file mode 100644 index 0000000..dc12b3a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-friends.json new file mode 100644 index 0000000..dceb9d2 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-friends.json @@ -0,0 +1,77 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 144, + "req": 0, + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "cost": 33361, + "req": 0, + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "cost": 17033, + "req": 0, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-home.json new file mode 100644 index 0000000..7ca8d1d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "cost": 14129214, + "req": 0, + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 4602252, + "tokout": 43542 + }, + "id": "user-16" + }, + { + "values": { + "cost": 18015, + "req": 0, + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "cost": 1371293, + "req": 0, + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-projects.json new file mode 100644 index 0000000..a0bf609 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-friends.json new file mode 100644 index 0000000..29a9d63 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-friends.json @@ -0,0 +1,77 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 144, + "req": 0, + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "cost": 33361, + "req": 0, + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "cost": 17033, + "req": 0, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-home.json new file mode 100644 index 0000000..d9c184d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "cost": 14129214, + "req": 0, + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 4602252, + "tokout": 43542 + }, + "id": "user-16" + }, + { + "values": { + "cost": 18015, + "req": 0, + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "cost": 1371293, + "req": 0, + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-projects.json new file mode 100644 index 0000000..07541d7 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-30_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-30_offset-0_limit-1000.json new file mode 100644 index 0000000..626cc85 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-30_offset-0_limit-1000.json @@ -0,0 +1,89 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 768837 + }, + "id": "internal" + }, + { + "values": { + "req": 23868 + }, + "id": "user-03" + }, + { + "values": { + "req": 8154 + }, + "id": "service-01" + }, + { + "values": { + "req": 6502 + }, + "id": "user-13" + }, + { + "values": { + "req": 2692 + }, + "id": "user-02" + }, + { + "values": { + "req": 1650 + }, + "id": "user-20" + }, + { + "values": { + "req": 538 + }, + "id": "user-06" + }, + { + "values": { + "req": 341 + }, + "id": "user-08" + }, + { + "values": { + "req": 182 + }, + "id": "user-18" + }, + { + "values": { + "req": 174 + }, + "id": "user-07" + }, + { + "values": { + "req": 121 + }, + "id": "user-16" + }, + { + "values": { + "req": 88 + }, + "id": "admin" + }, + { + "values": { + "req": 7 + }, + "id": "user-05" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-7_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-7_offset-0_limit-1000.json new file mode 100644 index 0000000..eae57c9 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-7_offset-0_limit-1000.json @@ -0,0 +1,83 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 439337 + }, + "id": "internal" + }, + { + "values": { + "req": 16331 + }, + "id": "user-03" + }, + { + "values": { + "req": 4462 + }, + "id": "service-01" + }, + { + "values": { + "req": 2692 + }, + "id": "user-02" + }, + { + "values": { + "req": 1230 + }, + "id": "user-13" + }, + { + "values": { + "req": 909 + }, + "id": "user-20" + }, + { + "values": { + "req": 538 + }, + "id": "user-06" + }, + { + "values": { + "req": 174 + }, + "id": "user-07" + }, + { + "values": { + "req": 126 + }, + "id": "user-08" + }, + { + "values": { + "req": 121 + }, + "id": "user-16" + }, + { + "values": { + "req": 97 + }, + "id": "user-18" + }, + { + "values": { + "req": 88 + }, + "id": "admin" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-48_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-48_offset-0_limit-1000.json new file mode 100644 index 0000000..156d870 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-48_offset-0_limit-1000.json @@ -0,0 +1,71 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 187295 + }, + "id": "internal" + }, + { + "values": { + "req": 6984 + }, + "id": "user-03" + }, + { + "values": { + "req": 2692 + }, + "id": "user-02" + }, + { + "values": { + "req": 1500 + }, + "id": "service-01" + }, + { + "values": { + "req": 572 + }, + "id": "user-13" + }, + { + "values": { + "req": 283 + }, + "id": "user-20" + }, + { + "values": { + "req": 174 + }, + "id": "user-07" + }, + { + "values": { + "req": 121 + }, + "id": "user-16" + }, + { + "values": { + "req": 88 + }, + "id": "admin" + }, + { + "values": { + "req": 23 + }, + "id": "user-08" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-3_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-3_offset-0_limit-1000.json new file mode 100644 index 0000000..9dd07d4 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-3_offset-0_limit-1000.json @@ -0,0 +1,10 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-6_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-6_offset-0_limit-1000.json new file mode 100644 index 0000000..11268d4 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-6_offset-0_limit-1000.json @@ -0,0 +1,10 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-30_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-30_offset-0_limit-1000.json new file mode 100644 index 0000000..268f006 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-30_offset-0_limit-1000.json @@ -0,0 +1,103 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 4325588, + "tokout": 42620 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-7_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-7_offset-0_limit-1000.json new file mode 100644 index 0000000..f16b464 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-7_offset-0_limit-1000.json @@ -0,0 +1,96 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 2311518200, + "tokout": 9197182 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 681946587, + "tokout": 11736568 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 8892595, + "tokout": 478460 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 4325588, + "tokout": 42620 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 3221346, + "tokout": 64297 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 2045489, + "tokout": 330474 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 1592969, + "tokout": 21384 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 640644, + "tokout": 320624 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-48_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-48_offset-0_limit-1000.json new file mode 100644 index 0000000..4eb2375 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-48_offset-0_limit-1000.json @@ -0,0 +1,82 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 1028723704, + "tokout": 3693486 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 249932380, + "tokout": 4996794 + }, + "id": "internal" + }, + { + "values": { + "tokin": 4325588, + "tokout": 42620 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 2985017, + "tokout": 158174 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 1184821, + "tokout": 19706 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 94385, + "tokout": 13813 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 34836, + "tokout": 2529 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-3_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-3_offset-0_limit-1000.json new file mode 100644 index 0000000..ffdc73c --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-3_offset-0_limit-1000.json @@ -0,0 +1,103 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 4417454, + "tokout": 42975 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-6_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-6_offset-0_limit-1000.json new file mode 100644 index 0000000..649a0f3 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-6_offset-0_limit-1000.json @@ -0,0 +1,103 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 4417454, + "tokout": 42975 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json deleted file mode 100644 index c07f02a..0000000 --- a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "kind": "usermodel", - "window": "day", - "metrics": [ - "req", - "cost" - ], - "rows": [ - { - "values": { - "cost": 0, - "req": 1223 - }, - "id": "uni/deepseek-v4-flash-0731" - }, - { - "values": { - "cost": 18015, - "req": 8 - }, - "id": "minimax/MiniMax-M3" - } - ], - "span": 7, - "offset": 0 -} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json deleted file mode 100644 index a38b61d..0000000 --- a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "kind": "usermodel", - "window": "day", - "metrics": [ - "req", - "tokin", - "tokout", - "cost" - ], - "rows": [ - { - "values": { - "cost": 0, - "req": 2343, - "tokin": 9803759, - "tokout": 412124 - }, - "id": "uni/deepseek-v4-flash-0731" - }, - { - "values": { - "cost": 18015, - "req": 8, - "tokin": 52177, - "tokout": 1967 - }, - "id": "minimax/MiniMax-M3" - } - ], - "span": 14, - "offset": 0 -} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-admin.json new file mode 100644 index 0000000..6851e11 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-internal.json new file mode 100644 index 0000000..8ddcad3 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-internal.json @@ -0,0 +1,131 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 618854, + "tokin": 119631774, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 17211, + "tokin": 645618438, + "tokout": 15351896 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 0, + "req": 429, + "tokin": 920670, + "tokout": 444273 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 4991070, + "req": 237, + "tokin": 14914874, + "tokout": 430493 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 9130865, + "req": 170, + "tokin": 310255, + "tokout": 252653 + }, + "id": "openai/gpt-5.5" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 4, + "tokin": 920, + "tokout": 1886 + }, + "id": "uni/model-fast" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-user-01.json new file mode 100644 index 0000000..998f31d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-30_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 30, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-admin.json new file mode 100644 index 0000000..f9f681a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-internal.json new file mode 100644 index 0000000..17cdcf0 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-internal.json @@ -0,0 +1,113 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 332125, + "tokin": 65435123, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 14523, + "tokin": 558726319, + "tokout": 10384017 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 4941768, + "req": 217, + "tokin": 14869779, + "tokout": 400684 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 0, + "req": 119, + "tokin": 225619, + "tokout": 193299 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-user-01.json new file mode 100644 index 0000000..541036a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-7_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json deleted file mode 100644 index 3d0e943..0000000 --- a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "kind": "usermodel", - "window": "month", - "metrics": [ - "req", - "tokin", - "tokout", - "cost" - ], - "rows": [ - { - "values": { - "cost": 0, - "req": 2343, - "tokin": 9803759, - "tokout": 412124 - }, - "id": "uni/deepseek-v4-flash-0731" - }, - { - "values": { - "cost": 18015, - "req": 8, - "tokin": 52177, - "tokout": 1967 - }, - "id": "minimax/MiniMax-M3" - } - ], - "span": 12, - "offset": 0 -} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-admin.json new file mode 100644 index 0000000..a6ad198 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-internal.json new file mode 100644 index 0000000..f262090 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-internal.json @@ -0,0 +1,131 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 618857, + "tokin": 119631879, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 17211, + "tokin": 645618438, + "tokout": 15351896 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 0, + "req": 429, + "tokin": 920670, + "tokout": 444273 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 4991070, + "req": 237, + "tokin": 14914874, + "tokout": 430493 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 9130865, + "req": 170, + "tokin": 310255, + "tokout": 252653 + }, + "id": "openai/gpt-5.5" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 4, + "tokin": 920, + "tokout": 1886 + }, + "id": "uni/model-fast" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-user-01.json new file mode 100644 index 0000000..db39391 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-3_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 3, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-admin.json new file mode 100644 index 0000000..dc22c67 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-internal.json new file mode 100644 index 0000000..c98ffe1 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-internal.json @@ -0,0 +1,131 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 618864, + "tokin": 119632129, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 17211, + "tokin": 645618438, + "tokout": 15351896 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 0, + "req": 429, + "tokin": 920670, + "tokout": 444273 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 4991070, + "req": 237, + "tokin": 14914874, + "tokout": 430493 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 9130865, + "req": 170, + "tokin": 310255, + "tokout": 252653 + }, + "id": "openai/gpt-5.5" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 4, + "tokin": 920, + "tokout": 1886 + }, + "id": "uni/model-fast" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-user-01.json new file mode 100644 index 0000000..f600a6a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-6_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 6, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/manifest.json b/webui/mock/manifest.json index 3cd61a9..472c58a 100644 --- a/webui/mock/manifest.json +++ b/webui/mock/manifest.json @@ -41,6 +41,26 @@ }, "status": 200 }, + { + "file": "performance__kind-model_window-day_span-30.json", + "path": "/admin/api/performance", + "query": { + "kind": "model", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "performance__kind-model_window-day_span-7.json", + "path": "/admin/api/performance", + "query": { + "kind": "model", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "performance__kind-model_window-hour_span-24.json", "path": "/admin/api/performance", @@ -51,6 +71,16 @@ }, "status": 200 }, + { + "file": "performance__kind-model_window-hour_span-48.json", + "path": "/admin/api/performance", + "query": { + "kind": "model", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "performance__kind-provider_window-day_span-14.json", "path": "/admin/api/performance", @@ -86,14 +116,70 @@ "status": 200 }, { - "file": "performance__kind-provider_window-day_span-14_series-1_id-anthropic.json", + "file": "performance__kind-provider_window-day_span-30.json", "path": "/admin/api/performance", "query": { "kind": "provider", "window": "day", - "span": "14", + "span": "30" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-30_series-1_id-alibaba.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "30", "series": "1", - "id": "anthropic" + "id": "alibaba" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-30_series-1_id-amd.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "30", + "series": "1", + "id": "amd" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-7.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-7_series-1_id-alibaba.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "7", + "series": "1", + "id": "alibaba" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-7_series-1_id-amd.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "7", + "series": "1", + "id": "amd" }, "status": 200 }, @@ -132,14 +218,36 @@ "status": 200 }, { - "file": "performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json", + "file": "performance__kind-provider_window-hour_span-48.json", "path": "/admin/api/performance", "query": { "kind": "provider", "window": "hour", - "span": "24", + "span": "48" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-48_series-1_id-alibaba.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "48", "series": "1", - "id": "anthropic" + "id": "alibaba" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-48_series-1_id-amd.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "48", + "series": "1", + "id": "amd" }, "status": 200 }, @@ -190,6 +298,40 @@ }, "status": 400 }, + { + "file": "usage_models__metric-cost_window-day_span-30_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "30", + "limit": "5" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-day_span-7_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "7", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-day_span-7_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "7", + "limit": "5" + }, + "status": 200 + }, { "file": "usage_models__metric-cost_window-hour_span-24_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -225,6 +367,17 @@ }, "status": 400 }, + { + "file": "usage_models__metric-cost_window-hour_span-48_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "hour", + "span": "48", + "limit": "5" + }, + "status": 200 + }, { "file": "usage_models__metric-cost_window-month_span-12_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -248,6 +401,52 @@ }, "status": 200 }, + { + "file": "usage_models__metric-cost_window-month_span-3_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "3", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-month_span-3_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "3", + "limit": "5" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-month_span-6_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "6", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-month_span-6_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "6", + "limit": "5" + }, + "status": 200 + }, { "file": "usage_models__metric-req_window-day_span-14_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -272,6 +471,18 @@ }, "status": 400 }, + { + "file": "usage_models__metric-req_window-day_span-7_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "day", + "span": "7", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_models__metric-req_window-hour_span-24_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -308,6 +519,30 @@ }, "status": 200 }, + { + "file": "usage_models__metric-req_window-month_span-3_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "month", + "span": "3", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-req_window-month_span-6_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "month", + "span": "6", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_models__metric-tokin_window-day_span-14_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -332,6 +567,18 @@ }, "status": 400 }, + { + "file": "usage_models__metric-tokin_window-day_span-7_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "day", + "span": "7", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_models__metric-tokin_window-hour_span-24_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -368,6 +615,30 @@ }, "status": 200 }, + { + "file": "usage_models__metric-tokin_window-month_span-3_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "month", + "span": "3", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokin_window-month_span-6_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "month", + "span": "6", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_models__metric-tokout_window-day_span-14_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -392,6 +663,18 @@ }, "status": 400 }, + { + "file": "usage_models__metric-tokout_window-day_span-7_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "day", + "span": "7", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_models__metric-tokout_window-hour_span-24_limit-100_detail-1.json", "path": "/admin/api/usage/models", @@ -428,6 +711,30 @@ }, "status": 200 }, + { + "file": "usage_models__metric-tokout_window-month_span-3_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "month", + "span": "3", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokout_window-month_span-6_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "month", + "span": "6", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, { "file": "usage_series__13scopes-3597a8_metric-tokin_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -559,6 +866,68 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-attempt_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "attempt", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-attempt_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "attempt", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-attempt_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -590,6 +959,37 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-attempt_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "attempt", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-fail_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -621,6 +1021,68 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-fail_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fail", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fail_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fail", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-fail_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -652,6 +1114,37 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-fail_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fail", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-fover_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -683,6 +1176,68 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-fover_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fover", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fover_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fover", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-fover_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -714,6 +1269,37 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-fover_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fover", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-timeout_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -745,6 +1331,68 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-timeout_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "timeout", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-timeout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "timeout", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__19scopes-059b3d_metric-timeout_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -776,6 +1424,37 @@ }, "status": 200 }, + { + "file": "usage_series__19scopes-059b3d_metric-timeout_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "timeout", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__24scopes-1e7dbc_metric-req_window-day_span-7.json", "path": "/admin/api/usage/series", @@ -998,6 +1677,84 @@ }, "status": 200 }, + { + "file": "usage_series__27scopes-8e9979_metric-tokout_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Qwen3.8-27B", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:openai/gpt-5.5", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7-highspeed", + "model:anthropic/claude-haiku-5-5", + "model:minimax/MiniMax-M2.5", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:uni/model-heavy", + "model:gx10/current", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-8e9979_metric-tokout_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Qwen3.8-27B", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:openai/gpt-5.5", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7-highspeed", + "model:anthropic/claude-haiku-5-5", + "model:minimax/MiniMax-M2.5", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:uni/model-heavy", + "model:gx10/current", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__27scopes-9f5267_metric-cost_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1076,6 +1833,84 @@ }, "status": 200 }, + { + "file": "usage_series__27scopes-9f5267_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:openai/gpt-5.5", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.5", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-9f5267_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:openai/gpt-5.5", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.5", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__27scopes-b4d65c_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1154,6 +1989,84 @@ }, "status": 200 }, + { + "file": "usage_series__27scopes-b4d65c_metric-req_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:openai/gpt-5.5", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "req", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-b4d65c_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:openai/gpt-5.5", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "req", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__27scopes-ef5a3e_metric-tokin_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1232,6 +2145,84 @@ }, "status": 200 }, + { + "file": "usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:gx10/Qwen3.8-27B", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:openai/gpt-5.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/qwen3.8-27b", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.5", + "model:uni/model-fast", + "model:uni/ornith-1.5-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:gx10/current", + "model:uni/model-heavy" + ], + "metric": "tokin", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:gx10/Qwen3.8-27B", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:openai/gpt-5.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/qwen3.8-27b", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.5", + "model:uni/model-fast", + "model:uni/ornith-1.5-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:gx10/current", + "model:uni/model-heavy" + ], + "metric": "tokin", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-cost_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1246,6 +2237,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1260,6 +2279,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1274,6 +2321,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1288,6 +2363,20 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-tokout_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1302,6 +2391,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__2scopes-818406_metric-tokout_window-hour_span-48.json", "path": "/admin/api/usage/series", @@ -1330,6 +2447,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1344,6 +2489,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1358,6 +2531,20 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1372,6 +2559,34 @@ }, "status": 200 }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__2scopes-eb4cb7_metric-tokout_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1399,6 +2614,45 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-cost_window-day_span-25.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "25" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-cost_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1412,6 +2666,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-cost_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1425,6 +2692,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1438,6 +2731,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1451,6 +2770,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-req_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1464,6 +2796,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-req_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokin_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1477,6 +2835,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokin_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokin_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokin_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1490,6 +2874,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokin_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokin_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1503,6 +2900,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokin_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokin_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokout_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1516,6 +2939,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokout_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokout_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1529,6 +2978,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokout_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-friends_metric-tokout_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1542,6 +3004,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-friends_metric-tokout_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokout_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-cost_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1555,6 +3043,45 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-cost_window-day_span-25.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "day", + "span": "25" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-cost_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1568,6 +3095,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-cost_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1581,6 +3121,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1594,6 +3160,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1607,6 +3199,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-req_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1620,6 +3225,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-req_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokin_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1633,6 +3264,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-tokin_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokin_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokin_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1646,6 +3303,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-tokin_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokin_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1659,6 +3329,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-tokin_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokin_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokout_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1672,6 +3368,32 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-tokout_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokout_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1685,6 +3407,19 @@ }, "status": 200 }, + { + "file": "usage_series__group-home_metric-tokout_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__group-home_metric-tokout_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1699,158 +3434,28 @@ "status": 200 }, { - "file": "usage_series__group-projects_metric-cost_window-day_span-14.json", + "file": "usage_series__group-home_metric-tokout_window-month_span-3.json", "path": "/admin/api/usage/series", "query": { "scope": [ - "group:projects" - ], - "metric": "cost", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-cost_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "cost", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-cost_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "cost", - "window": "month", - "span": "12" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-req_window-day_span-14.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "req", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-req_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "req", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-req_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "req", - "window": "month", - "span": "12" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokin_window-day_span-14.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "tokin", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokin_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "tokin", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokin_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "tokin", - "window": "month", - "span": "12" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokout_window-day_span-14.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "tokout", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokout_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" - ], - "metric": "tokout", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__group-projects_metric-tokout_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "group:projects" + "group:home" ], "metric": "tokout", "window": "month", - "span": "12" + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokout_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "month", + "span": "6" }, "status": 200 }, @@ -1881,6 +3486,59 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-cost_window-day_span-25.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "25" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-day_span-7_offset-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "7", + "offset": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-cost_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1908,6 +3566,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-cost_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -1921,6 +3592,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, { "file": "usage_series__total_metric-cost_window-month_span-3_offset-3.json", "path": "/admin/api/usage/series", @@ -1935,6 +3619,33 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-month_span-6_offset-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "month", + "span": "6", + "offset": "6" + }, + "status": 200 + }, { "file": "usage_series__total_metric-r402_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1948,6 +3659,32 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-r402_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "r402", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-r402_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "r402", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-r402_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1961,6 +3698,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-r402_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "r402", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-rej_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -1974,6 +3724,32 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-rej_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "rej", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-rej_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "rej", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-rej_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -1987,6 +3763,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-rej_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "rej", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2014,6 +3803,46 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-day_span-7_offset-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "day", + "span": "7", + "offset": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2041,6 +3870,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-req_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2054,6 +3896,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-req_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "month", + "span": "3" + }, + "status": 200 + }, { "file": "usage_series__total_metric-req_window-month_span-3_offset-3.json", "path": "/admin/api/usage/series", @@ -2068,6 +3923,33 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "month", + "span": "6" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-month_span-6_offset-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "month", + "span": "6", + "offset": "6" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokin_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2095,6 +3977,46 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokin_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-day_span-7_offset-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "day", + "span": "7", + "offset": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokin_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2122,6 +4044,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokin_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokin_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2135,6 +4070,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokin_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "month", + "span": "3" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokin_window-month_span-3_offset-3.json", "path": "/admin/api/usage/series", @@ -2149,6 +4097,33 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokin_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "month", + "span": "6" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-month_span-6_offset-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "month", + "span": "6", + "offset": "6" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokout_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2176,6 +4151,46 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokout_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-day_span-7_offset-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "day", + "span": "7", + "offset": "7" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokout_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2203,6 +4218,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokout_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokout_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2216,6 +4244,19 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokout_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "month", + "span": "3" + }, + "status": 200 + }, { "file": "usage_series__total_metric-tokout_window-month_span-3_offset-3.json", "path": "/admin/api/usage/series", @@ -2230,6 +4271,33 @@ }, "status": 200 }, + { + "file": "usage_series__total_metric-tokout_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "month", + "span": "6" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-month_span-6_offset-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "month", + "span": "6", + "offset": "6" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-cost_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2243,6 +4311,45 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-cost_window-day_span-25.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "day", + "span": "25" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-cost_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2256,6 +4363,19 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-cost_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2269,6 +4389,32 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2282,6 +4428,32 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2295,6 +4467,19 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__user-admin_metric-req_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2308,6 +4493,32 @@ }, "status": 200 }, + { + "file": "usage_series__user-admin_metric-req_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-cost_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2321,6 +4532,45 @@ }, "status": 200 }, + { + "file": "usage_series__user-internal_metric-cost_window-day_span-25.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "day", + "span": "25" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-cost_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2334,6 +4584,19 @@ }, "status": 200 }, + { + "file": "usage_series__user-internal_metric-cost_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-cost_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2347,6 +4610,32 @@ }, "status": 200 }, + { + "file": "usage_series__user-internal_metric-cost_window-month_span-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "month", + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "month", + "span": "6" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-req_window-day_span-14.json", "path": "/admin/api/usage/series", @@ -2360,6 +4649,32 @@ }, "status": 200 }, + { + "file": "usage_series__user-internal_metric-req_window-day_span-30.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "day", + "span": "30" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-req_window-hour_span-24.json", "path": "/admin/api/usage/series", @@ -2373,6 +4688,19 @@ }, "status": 200 }, + { + "file": "usage_series__user-internal_metric-req_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "hour", + "span": "48" + }, + "status": 200 + }, { "file": "usage_series__user-internal_metric-req_window-month_span-12.json", "path": "/admin/api/usage/series", @@ -2387,80 +4715,28 @@ "status": 200 }, { - "file": "usage_series__user-service-01_metric-cost_window-day_span-14.json", + "file": "usage_series__user-internal_metric-req_window-month_span-3.json", "path": "/admin/api/usage/series", "query": { "scope": [ - "user:service-01" - ], - "metric": "cost", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__user-service-01_metric-cost_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "user:service-01" - ], - "metric": "cost", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__user-service-01_metric-cost_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "user:service-01" - ], - "metric": "cost", - "window": "month", - "span": "12" - }, - "status": 200 - }, - { - "file": "usage_series__user-service-01_metric-req_window-day_span-14.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "user:service-01" - ], - "metric": "req", - "window": "day", - "span": "14" - }, - "status": 200 - }, - { - "file": "usage_series__user-service-01_metric-req_window-hour_span-24.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "user:service-01" - ], - "metric": "req", - "window": "hour", - "span": "24" - }, - "status": 200 - }, - { - "file": "usage_series__user-service-01_metric-req_window-month_span-12.json", - "path": "/admin/api/usage/series", - "query": { - "scope": [ - "user:service-01" + "user:internal" ], "metric": "req", "window": "month", - "span": "12" + "span": "3" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-req_window-month_span-6.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "month", + "span": "6" }, "status": 200 }, @@ -2475,6 +4751,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-cost_window-day_span-30.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "30", + "metrics": "cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-cost_window-day_span-7.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "7", + "metrics": "cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-cost_window-hour_span-24.json", "path": "/admin/api/usage/totals", @@ -2486,6 +4784,17 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-cost_window-hour_span-48.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "48", + "metrics": "cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-cost_window-month_span-12.json", "path": "/admin/api/usage/totals", @@ -2497,6 +4806,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-cost_window-month_span-3.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "3", + "metrics": "cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-cost_window-month_span-6.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "6", + "metrics": "cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-14.json", "path": "/admin/api/usage/totals", @@ -2508,6 +4839,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-30.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "30", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-7.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "7", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-24.json", "path": "/admin/api/usage/totals", @@ -2519,6 +4872,17 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-48.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "48", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-12.json", "path": "/admin/api/usage/totals", @@ -2530,6 +4894,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-3.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "3", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-6.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "6", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req_window-day_span-14.json", "path": "/admin/api/usage/totals", @@ -2541,6 +4927,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req_window-day_span-30.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "30", + "metrics": "req" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req_window-day_span-7.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "7", + "metrics": "req" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req_window-hour_span-24.json", "path": "/admin/api/usage/totals", @@ -2552,6 +4960,17 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req_window-hour_span-48.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "48", + "metrics": "req" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-req_window-month_span-12.json", "path": "/admin/api/usage/totals", @@ -2563,6 +4982,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-req_window-month_span-3.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "3", + "metrics": "req" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req_window-month_span-6.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "6", + "metrics": "req" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokin_window-day_span-14.json", "path": "/admin/api/usage/totals", @@ -2574,6 +5015,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-day_span-30.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "30", + "metrics": "tokin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-day_span-7.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "7", + "metrics": "tokin" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokin_window-hour_span-24.json", "path": "/admin/api/usage/totals", @@ -2585,6 +5048,17 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-hour_span-48.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "48", + "metrics": "tokin" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokin_window-month_span-12.json", "path": "/admin/api/usage/totals", @@ -2596,6 +5070,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-month_span-3.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "3", + "metrics": "tokin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-month_span-6.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "6", + "metrics": "tokin" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokout_window-day_span-14.json", "path": "/admin/api/usage/totals", @@ -2607,6 +5103,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-day_span-30.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "30", + "metrics": "tokout" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-day_span-7.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "7", + "metrics": "tokout" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokout_window-hour_span-24.json", "path": "/admin/api/usage/totals", @@ -2618,6 +5136,17 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-hour_span-48.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "48", + "metrics": "tokout" + }, + "status": 200 + }, { "file": "usage_totals__kind-group_metrics-tokout_window-month_span-12.json", "path": "/admin/api/usage/totals", @@ -2629,6 +5158,28 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-month_span-3.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "3", + "metrics": "tokout" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-month_span-6.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "6", + "metrics": "tokout" + }, + "status": 200 + }, { "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-14_limit-10.json", "path": "/admin/api/usage/totals", @@ -2641,6 +5192,30 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-30_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "30", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "7", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, { "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~agentkit.json", "path": "/admin/api/usage/totals", @@ -2667,19 +5242,6 @@ }, "status": 200 }, - { - "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json", - "path": "/admin/api/usage/totals", - "query": { - "kind": "targetcaller", - "window": "day", - "span": "7", - "metrics": "req", - "limit": "10", - "target": "agent/budgeting-helper" - }, - "status": 200 - }, { "file": "usage_totals__kind-targetcaller_metrics-req_window-month_span-12_limit-10.json", "path": "/admin/api/usage/totals", @@ -2692,6 +5254,30 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-month_span-3_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "month", + "span": "3", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-month_span-6_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "month", + "span": "6", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-cost_window-day_span-14_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2705,6 +5291,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-cost_window-day_span-30_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-cost_window-day_span-7_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-cost_window-hour_span-24_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2718,6 +5330,19 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-cost_window-hour_span-48_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-cost_window-month_span-12_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2731,6 +5356,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-cost_window-month_span-3_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-cost_window-month_span-6_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-friends.json", "path": "/admin/api/usage/totals", @@ -2767,6 +5418,78 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-30_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-7_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-friends.json", "path": "/admin/api/usage/totals", @@ -2803,6 +5526,42 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-48_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-friends.json", "path": "/admin/api/usage/totals", @@ -2839,6 +5598,78 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-3_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-6_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req_window-day_span-14_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2852,6 +5683,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req_window-day_span-30_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req_window-day_span-7_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req_window-hour_span-24_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2865,6 +5722,19 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req_window-hour_span-48_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-req_window-month_span-12_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2878,6 +5748,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-req_window-month_span-3_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req_window-month_span-6_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-tokin+tokout_window-day_span-14_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2891,6 +5787,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-day_span-30_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "30", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-day_span-7_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "7", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-24_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2904,6 +5826,19 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-48_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "48", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-user_metrics-tokin+tokout_window-month_span-12_offset-0_limit-1000.json", "path": "/admin/api/usage/totals", @@ -2917,6 +5852,32 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-month_span-3_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "3", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-month_span-6_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "6", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, { "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-admin.json", "path": "/admin/api/usage/totals", @@ -2941,18 +5902,6 @@ }, "status": 200 }, - { - "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json", - "path": "/admin/api/usage/totals", - "query": { - "kind": "usermodel", - "window": "day", - "span": "7", - "metrics": "req,cost", - "user": "service-01" - }, - "status": 200 - }, { "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-user-01.json", "path": "/admin/api/usage/totals", @@ -2987,17 +5936,6 @@ }, "status": 200 }, - { - "file": "usage_totals__kind-usermodel_window-day_span-14_user-service-01.json", - "path": "/admin/api/usage/totals", - "query": { - "kind": "usermodel", - "window": "day", - "span": "14", - "user": "service-01" - }, - "status": 200 - }, { "file": "usage_totals__kind-usermodel_window-day_span-14_user-user-01.json", "path": "/admin/api/usage/totals", @@ -3009,6 +5947,72 @@ }, "status": 200 }, + { + "file": "usage_totals__kind-usermodel_window-day_span-30_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "30", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-30_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "30", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-30_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "30", + "user": "user-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-7_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-7_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-7_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "user": "user-01" + }, + "status": 200 + }, { "file": "usage_totals__kind-usermodel_window-month_span-12_user-admin.json", "path": "/admin/api/usage/totals", @@ -3031,17 +6035,6 @@ }, "status": 200 }, - { - "file": "usage_totals__kind-usermodel_window-month_span-12_user-service-01.json", - "path": "/admin/api/usage/totals", - "query": { - "kind": "usermodel", - "window": "month", - "span": "12", - "user": "service-01" - }, - "status": 200 - }, { "file": "usage_totals__kind-usermodel_window-month_span-12_user-user-01.json", "path": "/admin/api/usage/totals", @@ -3052,5 +6045,71 @@ "user": "user-01" }, "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-3_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "3", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-3_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "3", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-3_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "3", + "user": "user-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-6_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "6", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-6_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "6", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-6_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "6", + "user": "user-01" + }, + "status": 200 } ] diff --git a/webui/mock/tools/trim-fixtures.mjs b/webui/mock/tools/trim-fixtures.mjs new file mode 100644 index 0000000..b1018d2 --- /dev/null +++ b/webui/mock/tools/trim-fixtures.mjs @@ -0,0 +1,36 @@ +import fs from 'node:fs'; +const SRC=process.argv[2], OUT=process.argv[3]??'webui/mock', DRY=process.argv[4]==='dry', MAXV=Number(process.env.MAX_VARIANTS??2); +if(!SRC){console.error('usage: node trim-fixtures.mjs [out-dir] [dry]');process.exit(2)} +const m=JSON.parse(fs.readFileSync(SRC+'/manifest.json','utf8')); +const ENUM=['kind','metric','metrics','window','span','detail','series']; +const IDK=['scope','id','group','user','target']; +const isEmpty=(b)=>{try{const j=JSON.parse(b);const s=JSON.stringify(j);return /"(rows|items|series|data|points|models|users|totals)":\[\]/.test(s)||(Array.isArray(j)&&!j.length)}catch{return false}}; +const shapes=new Map();const keep=[]; +for(const name of Object.keys(m.fixtures).sort()){ + const e=m.fixtures[name];const q=e.query; + const body=fs.readFileSync(SRC+'/'+name,'utf8'); + const idvals=[]; + const multi=[].concat(q.scope??[]).length>1; + const parts=[e.path,e.status]; + for(const k of Object.keys(q).sort()){ + const v=q[k]; + if(k==='scope'){const a=[].concat(v);const sig=[...new Set(a.map(s=>s.split(':')[0]))].sort().join('+')+(a.length>1?'*':'');parts.push('scope='+sig);idvals.push(a.join(','));} + else if(IDK.includes(k)){parts.push(k+'=*');idvals.push(String(v));} + else if(ENUM.includes(k))parts.push(k+'='+v); + else parts.push(k+'#'); + } + const shape=parts.join('|'); + const s=shapes.get(shape)||{ids:new Set(),n:0,empty:false};shapes.set(shape,s); + const idv=idvals.join('/'); + let k=false,why=''; + if(e.status!==200){k=true;why='400';} + else if(!idvals.length){ if(s.n===0){k=true;why='shape';} } + else if(s.ids.size<(multi?1:MAXV) && !s.ids.has(idv)){k=true;why='variant';} + if(!k&&isEmpty(body)&&!s.empty){k=true;why='empty';} + if(isEmpty(body))s.empty=true; + if(k){s.ids.add(idv);s.n++;keep.push({file:name,path:e.path,query:Object.fromEntries(Object.entries(q).map(([a,b])=>[a,Array.isArray(b)?b.map(String):String(b)])),status:e.status,why,bytes:Buffer.byteLength(body)});} +} +const tot=keep.reduce((a,b)=>a+b.bytes,0); +console.log('shapes',shapes.size,'kept',keep.length,'bytes',tot,JSON.stringify(keep.reduce((a,b)=>(a[b.why]=(a[b.why]||0)+1,a),{}))); +if(!DRY){fs.mkdirSync(OUT+'/fixtures',{recursive:true});for(const k of keep)fs.copyFileSync(SRC+'/'+k.file,OUT+'/fixtures/'+k.file); +fs.writeFileSync(OUT+'/manifest.json',JSON.stringify(keep.map(({file,path,query,status})=>({file,path,query,status})),null,2)+'\n');}