@daocloud-proto/skoala 0.3.3-101 → 0.3.3-113

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.
@@ -8,6 +8,13 @@ import * as InsightIoApiMetricV1alpha1Metric from "../../../metric/v1alpha1/metr
8
8
  export type Insight = {
9
9
  serviceDetail?: InsightValue
10
10
  serviceMetrics?: InsightMetrics
11
+ instanceMonitorMetrics?: MonitorMetrics
12
+ }
13
+
14
+ export type InstanceInsight = {
15
+ instanceDetail?: InsightValue
16
+ instanceMetrics?: InsightMetrics
17
+ instanceMonitorMetrics?: MonitorMetrics
11
18
  }
12
19
 
13
20
  export type InsightValue = {
@@ -27,4 +34,17 @@ export type InsightMetrics = {
27
34
  errorsRateMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
28
35
  successTotalCallsMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
29
36
  errorTotalCallsMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
37
+ }
38
+
39
+ export type MonitorMetrics = {
40
+ cpuRequest?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
41
+ cpuLimit?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
42
+ cpuUsage?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
43
+ memoryRequest?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
44
+ memoryLimit?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
45
+ memoryUsage?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
46
+ diskRead?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
47
+ diskWrite?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
48
+ netBytesReceived?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
49
+ netBytesTransmitted?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
30
50
  }
@@ -5,6 +5,7 @@
5
5
  */
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
8
+ import * as SkoalaApiIntegratedV1alpha1Insight from "./insight.pb"
8
9
 
9
10
  export enum InstanceStatus {
10
11
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
@@ -23,6 +24,7 @@ export type Instance = {
23
24
  metadata?: {[key: string]: string}
24
25
  detail?: {[key: string]: string}
25
26
  updateAt?: string
27
+ insight?: SkoalaApiIntegratedV1alpha1Insight.InstanceInsight
26
28
  }
27
29
 
28
30
  export type ListInstanceReq = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.3.3-101",
3
+ "version": "0.3.3-113",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {