@jfvilas/kwirth-common 0.4.43 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MetricsMessage.d.ts +16 -2
- package/package.json +1 -1
package/dist/MetricsMessage.d.ts
CHANGED
|
@@ -6,13 +6,24 @@ export interface AssetMetrics {
|
|
|
6
6
|
metricValue: number;
|
|
7
7
|
}[];
|
|
8
8
|
}
|
|
9
|
+
export interface MetricsMessage extends IInstanceMessage {
|
|
10
|
+
msgtype: 'metricsmessage';
|
|
11
|
+
assets: AssetMetrics[];
|
|
12
|
+
timestamp: number;
|
|
13
|
+
namespace: string;
|
|
14
|
+
pod: string;
|
|
15
|
+
container: string;
|
|
16
|
+
}
|
|
9
17
|
export interface IMetricsMessage extends IInstanceMessage {
|
|
10
18
|
msgtype: 'metricsmessage';
|
|
11
19
|
assets: AssetMetrics[];
|
|
12
20
|
timestamp: number;
|
|
13
21
|
namespace: string;
|
|
22
|
+
group: string;
|
|
14
23
|
pod: string;
|
|
15
24
|
container: string;
|
|
25
|
+
command?: string;
|
|
26
|
+
id?: string;
|
|
16
27
|
}
|
|
17
28
|
export interface IMetricsAssetsValue {
|
|
18
29
|
metricName: string;
|
|
@@ -24,9 +35,12 @@ export interface IMetricsAssets {
|
|
|
24
35
|
}
|
|
25
36
|
export interface IMetricsMessageResponse extends IInstanceMessage {
|
|
26
37
|
msgtype: 'metricsmessageresponse';
|
|
38
|
+
id?: string;
|
|
39
|
+
command?: string;
|
|
40
|
+
timestamp: number;
|
|
27
41
|
namespace: string;
|
|
28
|
-
|
|
42
|
+
group: string;
|
|
29
43
|
pod: string;
|
|
30
44
|
container: string;
|
|
31
|
-
|
|
45
|
+
assets: IMetricsAssets[];
|
|
32
46
|
}
|