@daocloud-proto/insight 0.14.0-dev-46a2b2a8 → 0.14.0-dev-78f8e320

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.14.0-dev-46a2b2a8",
3
+ "version":"0.14.0-dev-78f8e320",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -42,6 +42,20 @@ export enum Role {
42
42
  ADMIN = "ADMIN",
43
43
  }
44
44
 
45
+ export enum serverComponentName {
46
+ NAME_UNSPECIFIED = "NAME_UNSPECIFIED",
47
+ VMINSERT = "VMINSERT",
48
+ VMALERT = "VMALERT",
49
+ VMALERTMANAGER = "VMALERTMANAGER",
50
+ VMSELECT = "VMSELECT",
51
+ VMSTORAGE = "VMSTORAGE",
52
+ GRAFANA = "GRAFANA",
53
+ JAEGER_COLLECTOR = "JAEGER_COLLECTOR",
54
+ JAEGER_QUERY = "JAEGER_QUERY",
55
+ OPENTELEMETRY_COLLECTOR = "OPENTELEMETRY_COLLECTOR",
56
+ ELASTICSEARCH = "ELASTICSEARCH",
57
+ }
58
+
45
59
  export type ListClustersResponse = {
46
60
  items?: Cluster[]
47
61
  }
@@ -135,7 +149,9 @@ export type ServerComponentSummary = {
135
149
  }
136
150
 
137
151
  export type serverComponent = {
138
- name?: string
152
+ name?: serverComponentName
153
+ workloadName?: string
154
+ workloadNamespace?: string
139
155
  workloadKind?: InsightIoApiResourceV1alpha1Workload.WorkloadKind
140
156
  phase?: InsightIoApiResourceV1alpha1Workload.WorkloadPhase
141
157
  availability?: boolean