@flashbacktech/flashbackclient 0.2.76 → 0.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,6 +53,10 @@ export interface BreakdownMeta {
|
|
|
53
53
|
limit: number;
|
|
54
54
|
offset: number;
|
|
55
55
|
totalEntities: number;
|
|
56
|
+
resourceFilter?: {
|
|
57
|
+
type: 'bucket' | 'model' | 'user' | 'node' | 'rule' | 'apiKey';
|
|
58
|
+
id: string;
|
|
59
|
+
};
|
|
56
60
|
}
|
|
57
61
|
/**
|
|
58
62
|
* Standard time-series response.
|
|
@@ -100,6 +104,11 @@ export interface DashboardBreakdownQueryParams {
|
|
|
100
104
|
includeSeries?: boolean;
|
|
101
105
|
limit?: number;
|
|
102
106
|
offset?: number;
|
|
107
|
+
apiKeyId?: string;
|
|
108
|
+
model?: string;
|
|
109
|
+
bucketId?: string;
|
|
110
|
+
ruleId?: string;
|
|
111
|
+
userId?: string;
|
|
103
112
|
}
|
|
104
113
|
export interface StorageMetrics {
|
|
105
114
|
uplBytes: number;
|
|
@@ -112,9 +121,10 @@ export interface StorageTimeSeriesPoint extends StorageMetrics {
|
|
|
112
121
|
ts: number;
|
|
113
122
|
entityId?: string;
|
|
114
123
|
}
|
|
115
|
-
/** GET /v2/stats/storage?scope=...&id=...&window=...&bucketId=... */
|
|
124
|
+
/** GET /v2/stats/storage?scope=...&id=...&window=...&bucketId=...&apiKeyId=... */
|
|
116
125
|
export interface StorageStatsQueryParams extends DashboardStatsQueryParams {
|
|
117
126
|
bucketId?: string;
|
|
127
|
+
apiKeyId?: string;
|
|
118
128
|
}
|
|
119
129
|
export type StorageTimeSeriesResponse = TimeSeriesResponse<StorageTimeSeriesPoint>;
|
|
120
130
|
export type StorageBreakdownResponse = BreakdownResponse<StorageMetrics>;
|