@daocloud-proto/skoala 0.48.1 → 0.49.0-26

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.
Files changed (51) hide show
  1. package/{google/protobuf/field_mask.pb.ts → api/crds/version.pb.ts} +5 -2
  2. package/api/hosted/v1alpha3/ai_gateway.pb.ts +32 -0
  3. package/api/hosted/v1alpha3/gateway_api.pb.ts +412 -0
  4. package/package.json +3 -3
  5. package/alert/v1alpha1/alert.pb.ts +0 -433
  6. package/alert/v1alpha1/inhibition.pb.ts +0 -56
  7. package/alert/v1alpha1/notify.pb.ts +0 -250
  8. package/alert/v1alpha1/silence.pb.ts +0 -85
  9. package/alert/v1alpha1/type.pb.ts +0 -55
  10. package/event/v1alpha1/event.pb.ts +0 -137
  11. package/feature_gate/v1alpha1/feature_gate.pb.ts +0 -31
  12. package/github.com/mwitkow/go-proto-validators/validator.pb.ts +0 -29
  13. package/gogoproto/gogo.pb.ts +0 -1
  14. package/google/api/annotations.pb.ts +0 -1
  15. package/google/api/http.pb.ts +0 -34
  16. package/google/api/httpbody.pb.ts +0 -12
  17. package/google/protobuf/any.pb.ts +0 -9
  18. package/google/protobuf/api.pb.ts +0 -32
  19. package/google/protobuf/descriptor.pb.ts +0 -262
  20. package/google/protobuf/duration.pb.ts +0 -9
  21. package/google/protobuf/empty.pb.ts +0 -7
  22. package/google/protobuf/struct.pb.ts +0 -33
  23. package/google/protobuf/timestamp.pb.ts +0 -9
  24. package/google/protobuf/type.pb.ts +0 -83
  25. package/google/protobuf/wrappers.pb.ts +0 -40
  26. package/google/rpc/status.pb.ts +0 -12
  27. package/graph/v1alpha1/graph.pb.ts +0 -175
  28. package/log/v1alpha1/log.pb.ts +0 -163
  29. package/metric/v1alpha1/metric.pb.ts +0 -116
  30. package/net_flow/v1alpha1/net_flow.pb.ts +0 -8
  31. package/openapi/annotations.pb.ts +0 -1
  32. package/openapi/openapiv2.pb.ts +0 -193
  33. package/overview/v1alpha1/overview.pb.ts +0 -95
  34. package/probes/v1alpha1/probe.pb.ts +0 -132
  35. package/resource/v1alpha1/cluster.pb.ts +0 -156
  36. package/resource/v1alpha1/job.pb.ts +0 -113
  37. package/resource/v1alpha1/namespace.pb.ts +0 -43
  38. package/resource/v1alpha1/node.pb.ts +0 -96
  39. package/resource/v1alpha1/pod.pb.ts +0 -112
  40. package/resource/v1alpha1/service.pb.ts +0 -62
  41. package/resource/v1alpha1/type.pb.ts +0 -26
  42. package/resource/v1alpha1/workload.pb.ts +0 -98
  43. package/span_metric/v1alpha1/otelspankind.pb.ts +0 -14
  44. package/span_metric/v1alpha1/span_metric.pb.ts +0 -142
  45. package/tracing/v1alpha1/model.pb.ts +0 -95
  46. package/tracing/v1alpha1/query.pb.ts +0 -43
  47. package/tracing/v1alpha1/tracing.pb.ts +0 -64
  48. package/type/v1alpha1/objectmeta.pb.ts +0 -67
  49. package/type/v1alpha1/page.pb.ts +0 -11
  50. package/user/v1alpha1/user.pb.ts +0 -23
  51. package/validate/validate.pb.ts +0 -266
@@ -1,43 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiResourceV1alpha1Cluster from "./cluster.pb"
8
- import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
9
-
10
- export enum NamespacePhase {
11
- NAMESPACE_PHASE_UNSPECIFIED = "NAMESPACE_PHASE_UNSPECIFIED",
12
- Active = "Active",
13
- Terminating = "Terminating",
14
- }
15
-
16
- export type ListNamespacesRequest = {
17
- cluster?: string
18
- }
19
-
20
- export type ListNamespacesResponse = {
21
- namespaces?: Namespace[]
22
- }
23
-
24
- export type Namespace = {
25
- name?: string
26
- role?: InsightIoApiResourceV1alpha1Cluster.Role
27
- }
28
-
29
- export type GetNamespaceRequest = {
30
- cluster?: string
31
- name?: string
32
- }
33
-
34
- export type NamespaceDetail = {
35
- name?: string
36
- cluster?: string
37
- phase?: NamespacePhase
38
- creationTimestamp?: string
39
- deploymentNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
40
- statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
41
- daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
42
- podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
43
- }
@@ -1,96 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
- import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
9
-
10
- export enum NodePhase {
11
- NODE_PHASE_UNSPECIFIED = "NODE_PHASE_UNSPECIFIED",
12
- NODE_PHASE_READY = "NODE_PHASE_READY",
13
- NODE_PHASE_NOT_READY = "NODE_PHASE_NOT_READY",
14
- NODE_PHASE_UNKNOWN = "NODE_PHASE_UNKNOWN",
15
- }
16
-
17
- export type ListNodesRequest = {
18
- cluster?: string
19
- phase?: NodePhase
20
- name?: string
21
- page?: number
22
- pageSize?: number
23
- }
24
-
25
- export type ListNodesResponse = {
26
- items?: NodeSummary[]
27
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
28
- }
29
-
30
- export type NodeSummary = {
31
- name?: string
32
- phase?: NodePhase
33
- podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
34
- gpuVendors?: string[]
35
- }
36
-
37
- export type GetNodeRequest = {
38
- cluster?: string
39
- name?: string
40
- }
41
-
42
- export type Node = {
43
- name?: string
44
- cluster?: string
45
- operatingSystem?: string
46
- address?: string
47
- creationTimestamp?: string
48
- nodeStatus?: NodeStatus
49
- podSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
50
- usage?: usage
51
- }
52
-
53
- export type NodeStatus = {
54
- phase?: NodePhase
55
- conditions?: NodeCondition[]
56
- }
57
-
58
- export type NodeCondition = {
59
- type?: string
60
- status?: InsightIoApiResourceV1alpha1Type.ConditionStatus
61
- reason?: string
62
- message?: string
63
- }
64
-
65
- export type usage = {
66
- cpuCapacity?: string
67
- cpuAllocated?: number
68
- cpuUsage?: number
69
- memoryCapacity?: string
70
- memoryAllocated?: number
71
- memoryUsage?: number
72
- storageCapacity?: string
73
- storageAllocated?: string
74
- storageUsage?: number
75
- }
76
-
77
- export type GPUDashboardURL = {
78
- vendor?: string
79
- en?: string
80
- zh?: string
81
- }
82
-
83
- export type GetGPUResponse = {
84
- urls?: GPUDashboardURL[]
85
- }
86
-
87
- export type GetNodeGPUDashboardRequest = {
88
- cluster?: string
89
- name?: string
90
- }
91
-
92
- export type GetPodGPUDashboardRequest = {
93
- cluster?: string
94
- namespace?: string
95
- name?: string
96
- }
@@ -1,112 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
- import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
9
-
10
- export enum PodPhase {
11
- POD_PHASE_UNSPECIFIED = "POD_PHASE_UNSPECIFIED",
12
- POD_PHASE_UNKNOWN = "POD_PHASE_UNKNOWN",
13
- POD_PHASE_PENDING = "POD_PHASE_PENDING",
14
- POD_PHASE_RUNNING = "POD_PHASE_RUNNING",
15
- POD_PHASE_SUCCEED = "POD_PHASE_SUCCEED",
16
- POD_PHASE_FAILED = "POD_PHASE_FAILED",
17
- }
18
-
19
- export enum JVMType {
20
- JMX = "JMX",
21
- OTEL = "OTEL",
22
- NONE = "NONE",
23
- }
24
-
25
- export enum ContainerPhase {
26
- CONTAINER_PHASE_UNSPECIFIED = "CONTAINER_PHASE_UNSPECIFIED",
27
- CONTAINER_PHASE_WAITING = "CONTAINER_PHASE_WAITING",
28
- CONTAINER_PHASE_RUNNING = "CONTAINER_PHASE_RUNNING",
29
- CONTAINER_PHASE_TERMINATED = "CONTAINER_PHASE_TERMINATED",
30
- }
31
-
32
- export type ListPodsRequest = {
33
- cluster?: string
34
- namespace?: string
35
- phase?: PodPhase
36
- name?: string
37
- page?: number
38
- pageSize?: number
39
- }
40
-
41
- export type ListPodsResponse = {
42
- items?: PodSummary[]
43
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
44
- }
45
-
46
- export type PodSummary = {
47
- name?: string
48
- namespace?: string
49
- phase?: PodPhase
50
- containerNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
51
- podIp?: string
52
- nodeName?: string
53
- restartCount?: number
54
- cpuUsage?: number
55
- memoryUsage?: number
56
- startTime?: string
57
- }
58
-
59
- export type GetPodRequest = {
60
- cluster?: string
61
- namespace?: string
62
- name?: string
63
- }
64
-
65
- export type GetPodJVMDashboardsRequest = {
66
- cluster?: string
67
- namespace?: string
68
- name?: string
69
- start?: string
70
- end?: string
71
- step?: number
72
- }
73
-
74
- export type Pod = {
75
- name?: string
76
- cluster?: string
77
- namespace?: string
78
- phase?: PodPhase
79
- createTimestamp?: string
80
- containerNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
81
- podIp?: string
82
- hostIp?: string
83
- conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
84
- }
85
-
86
- export type GetPodJVMDashboardsResponse = {
87
- type?: JVMType
88
- urls?: JVMUrls
89
- }
90
-
91
- export type JVMUrls = {
92
- en?: string
93
- zh?: string
94
- }
95
-
96
- export type ListContainersRequest = {
97
- cluster?: string
98
- namespace?: string
99
- name?: string
100
- page?: number
101
- pageSize?: number
102
- }
103
-
104
- export type ListContainersResponse = {
105
- items?: ContainerSummary[]
106
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
107
- }
108
-
109
- export type ContainerSummary = {
110
- name?: string
111
- phase?: ContainerPhase
112
- }
@@ -1,62 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
-
9
- export enum ServiceType {
10
- SERVICE_TYPE_UNSPECIFIED = "SERVICE_TYPE_UNSPECIFIED",
11
- CLUSTER_IP = "CLUSTER_IP",
12
- NODE_PORT = "NODE_PORT",
13
- LOAD_BALANCER = "LOAD_BALANCER",
14
- EXTERNAL_NAME = "EXTERNAL_NAME",
15
- }
16
-
17
- export enum WorkloadSumKind {
18
- KIND_UNSPECIFIED = "KIND_UNSPECIFIED",
19
- DEPLOYMENT = "DEPLOYMENT",
20
- STATEFULSET = "STATEFULSET",
21
- DAEMONSET = "DAEMONSET",
22
- }
23
-
24
- export type ListServicesRequest = {
25
- cluster?: string
26
- namespace?: string
27
- name?: string
28
- page?: number
29
- pageSize?: number
30
- }
31
-
32
- export type ListServicesResponse = {
33
- items?: serviceSummary[]
34
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
35
- }
36
-
37
- export type serviceSummary = {
38
- name?: string
39
- namespace?: string
40
- tracingEnabled?: boolean
41
- }
42
-
43
- export type Service = {
44
- name?: string
45
- cluster?: string
46
- namespace?: string
47
- createTimestamp?: string
48
- serviceType?: ServiceType
49
- clusterIp?: string
50
- workloadData?: WorkloadSum[]
51
- }
52
-
53
- export type WorkloadSum = {
54
- workloadKind?: WorkloadSumKind
55
- name?: string
56
- }
57
-
58
- export type GetServiceRequest = {
59
- cluster?: string
60
- namespace?: string
61
- name?: string
62
- }
@@ -1,26 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- export enum ConditionStatus {
8
- CONDITION_STATUS_UNSPECIFIED = "CONDITION_STATUS_UNSPECIFIED",
9
- True = "True",
10
- False = "False",
11
- Unknown = "Unknown",
12
- }
13
-
14
- export type ResourceNumSummary = {
15
- totalNum?: number
16
- readyNum?: number
17
- }
18
-
19
- export type Condition = {
20
- lastTransitionTime?: string
21
- lastUpdateTime?: string
22
- message?: string
23
- reason?: string
24
- status?: string
25
- type?: string
26
- }
@@ -1,98 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
8
- import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
9
-
10
- export enum WorkloadKind {
11
- WORKLOAD_KIND_UNKNOWN = "WORKLOAD_KIND_UNKNOWN",
12
- WORKLOAD_KIND_DEPLOYMENT = "WORKLOAD_KIND_DEPLOYMENT",
13
- WORKLOAD_KIND_STATEFULSET = "WORKLOAD_KIND_STATEFULSET",
14
- WORKLOAD_KIND_DAEMONSET = "WORKLOAD_KIND_DAEMONSET",
15
- }
16
-
17
- export enum WorkloadPhase {
18
- WORKLOAD_STATE_UNKNOWN = "WORKLOAD_STATE_UNKNOWN",
19
- WORKLOAD_STATE_RUNNING = "WORKLOAD_STATE_RUNNING",
20
- WORKLOAD_STATE_DELETING = "WORKLOAD_STATE_DELETING",
21
- WORKLOAD_STATE_NOT_READY = "WORKLOAD_STATE_NOT_READY",
22
- WORKLOAD_STATE_STOPPED = "WORKLOAD_STATE_STOPPED",
23
- WORKLOAD_STATE_WAITING = "WORKLOAD_STATE_WAITING",
24
- }
25
-
26
- export type ListWorkloadsRequest = {
27
- cluster?: string
28
- namespace?: string
29
- name?: string
30
- phase?: WorkloadPhase
31
- page?: number
32
- pageSize?: number
33
- }
34
-
35
- export type ListWorkloadsResponse = {
36
- items?: workloadSummary[]
37
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
38
- }
39
-
40
- export type workloadSummary = {
41
- name?: string
42
- namespace?: string
43
- phase?: WorkloadPhase
44
- podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
45
- }
46
-
47
- export type Workload = {
48
- name?: string
49
- cluster?: string
50
- namespace?: string
51
- phase?: WorkloadPhase
52
- createTimestamp?: string
53
- podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
54
- conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
55
- }
56
-
57
- export type GetWorkloadRequest = {
58
- cluster?: string
59
- namespace?: string
60
- name?: string
61
- }
62
-
63
- export type workloadUsage = {
64
- cpuRequest?: string
65
- cpuLimit?: string
66
- cpuUsage?: string
67
- memoryRequest?: string
68
- memoryLimit?: string
69
- memoryUsage?: string
70
- networkUsage?: string
71
- }
72
-
73
- export type GetDeploymentPodsRequest = {
74
- cluster?: string
75
- namespace?: string
76
- name?: string
77
- pod?: string
78
- page?: number
79
- pageSize?: number
80
- }
81
-
82
- export type GetStatefulsetPodsRequest = {
83
- cluster?: string
84
- namespace?: string
85
- name?: string
86
- pod?: string
87
- page?: number
88
- pageSize?: number
89
- }
90
-
91
- export type GetDaemonsetPodsRequest = {
92
- cluster?: string
93
- namespace?: string
94
- name?: string
95
- pod?: string
96
- page?: number
97
- pageSize?: number
98
- }
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- export enum SpanKind {
8
- SPAN_KIND_UNSPECIFIED = "SPAN_KIND_UNSPECIFIED",
9
- SPAN_KIND_INTERNAL = "SPAN_KIND_INTERNAL",
10
- SPAN_KIND_SERVER = "SPAN_KIND_SERVER",
11
- SPAN_KIND_CLIENT = "SPAN_KIND_CLIENT",
12
- SPAN_KIND_PRODUCER = "SPAN_KIND_PRODUCER",
13
- SPAN_KIND_CONSUMER = "SPAN_KIND_CONSUMER",
14
- }
@@ -1,142 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as InsightIoApiMetricV1alpha1Metric from "../../metric/v1alpha1/metric.pb"
8
- import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
9
- import * as InsightIoApiSpan_metricV1alpha1Otelspankind from "./otelspankind.pb"
10
-
11
- type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
12
- type OneOf<T> =
13
- | { [k in keyof T]?: undefined }
14
- | (
15
- keyof T extends infer K ?
16
- (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
17
- : never)
18
- : never);
19
-
20
- type BaseMetricsQueryBaseRequest = {
21
- namespace?: string
22
- instanceName?: string
23
- extensionFilters?: string
24
- serviceNames?: string[]
25
- groupByOperation?: boolean
26
- endTime?: string
27
- lookback?: string
28
- step?: string
29
- ratePer?: string
30
- spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
31
- }
32
-
33
- export type MetricsQueryBaseRequest = BaseMetricsQueryBaseRequest
34
- & OneOf<{ cluster: string; clusterName: string }>
35
-
36
-
37
- type BaseGetApdexRequest = {
38
- namespace?: string
39
- name?: string
40
- apdexThreshold?: string
41
- startTime?: string
42
- endTime?: string
43
- extensionFilters?: string
44
- }
45
-
46
- export type GetApdexRequest = BaseGetApdexRequest
47
- & OneOf<{ cluster: string; clusterName: string }>
48
-
49
- export type GetServiceDetailResponse = {
50
- p95Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
51
- p75Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
52
- p50Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
53
- reqRateMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
54
- errorsRateMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
55
- }
56
-
57
- export type GetOperationDetailRequest = {
58
- clusterName?: string
59
- namespace?: string
60
- serviceName?: string
61
- sort?: string
62
- page?: number
63
- pageSize?: number
64
- extensionFilters?: string
65
- endTime?: string
66
- lookback?: string
67
- step?: string
68
- ratePer?: string
69
- spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
70
- }
71
-
72
- export type MetricsWithOperation = {
73
- operationName?: string
74
- metricsMap?: {[key: string]: MetricsEntity}
75
- spanKind?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind
76
- }
77
-
78
- export type MetricsEntity = {
79
- metrics?: InsightIoApiMetricV1alpha1Metric.samplePair[]
80
- metricsAvg?: number
81
- }
82
-
83
- export type GetOperationDetailResponse = {
84
- metrics?: MetricsWithOperation[]
85
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
86
- }
87
-
88
-
89
- type BaseGetServicesRequest = {
90
- namespace?: string
91
- extensionFilters?: string
92
- endTime?: string
93
- lookback?: string
94
- spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
95
- page?: number
96
- pageSize?: number
97
- sort?: string
98
- }
99
-
100
- export type GetServicesRequest = BaseGetServicesRequest
101
- & OneOf<{ cluster: string; clusterName: string }>
102
-
103
- export type ServiceItem = {
104
- serviceName?: string
105
- namespace?: string
106
- reqRate?: number
107
- repLatency?: number
108
- errorRate?: number
109
- }
110
-
111
- export type GetServicesResponse = {
112
- items?: ServiceItem[]
113
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
114
- }
115
-
116
- export type GetServicePodsRequest = {
117
- clusterName?: string
118
- namespace?: string
119
- name?: string
120
- sort?: string
121
- page?: number
122
- pageSize?: number
123
- extensionFilters?: string
124
- endTime?: string
125
- lookback?: string
126
- step?: string
127
- ratePer?: string
128
- spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
129
- }
130
-
131
- export type PodItem = {
132
- podName?: string
133
- clusterName?: string
134
- namespace?: string
135
- metricsMap?: {[key: string]: MetricsEntity}
136
- reqPercentage?: number
137
- }
138
-
139
- export type GetServicePodsResponse = {
140
- items?: PodItem[]
141
- pagination?: InsightIoApiTypeV1alpha1Page.Pagination
142
- }
@@ -1,95 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- /*
4
- * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
- */
6
-
7
- import * as GoogleProtobufTimestamp from "../../google/protobuf/timestamp.pb"
8
-
9
- export enum ValueType {
10
- STRING = "STRING",
11
- BOOL = "BOOL",
12
- INT64 = "INT64",
13
- FLOAT64 = "FLOAT64",
14
- BINARY = "BINARY",
15
- }
16
-
17
- export enum SpanRefType {
18
- CHILD_OF = "CHILD_OF",
19
- FOLLOWS_FROM = "FOLLOWS_FROM",
20
- }
21
-
22
- export enum TraceTraceStatus {
23
- UNHEALTHY = "UNHEALTHY",
24
- HEALTHY = "HEALTHY",
25
- }
26
-
27
- export type KeyValue = {
28
- key?: string
29
- vType?: ValueType
30
- vStr?: string
31
- vBool?: boolean
32
- vInt64?: string
33
- vFloat64?: number
34
- vBinary?: Uint8Array
35
- }
36
-
37
- export type Log = {
38
- time?: string
39
- fields?: KeyValue[]
40
- timestamp?: GoogleProtobufTimestamp.Timestamp
41
- }
42
-
43
- export type SpanRef = {
44
- traceId?: string
45
- spanId?: string
46
- refType?: SpanRefType
47
- }
48
-
49
- export type Process = {
50
- serviceName?: string
51
- tags?: KeyValue[]
52
- }
53
-
54
- export type Span = {
55
- traceId?: string
56
- spanId?: string
57
- operationName?: string
58
- references?: SpanRef[]
59
- flags?: number
60
- startTime?: GoogleProtobufTimestamp.Timestamp
61
- duration?: string
62
- tags?: KeyValue[]
63
- logs?: Log[]
64
- process?: Process
65
- processId?: string
66
- warnings?: string[]
67
- }
68
-
69
- export type TraceProcessMapping = {
70
- processId?: string
71
- process?: Process
72
- }
73
-
74
- export type Trace = {
75
- operationName?: string
76
- processMap?: TraceProcessMapping[]
77
- warnings?: string[]
78
- traceId?: string
79
- status?: TraceTraceStatus
80
- spanCount?: number
81
- startTime?: string
82
- duration?: string
83
- }
84
-
85
- export type Batch = {
86
- spans?: Span[]
87
- process?: Process
88
- }
89
-
90
- export type DependencyLink = {
91
- parent?: string
92
- child?: string
93
- callCount?: string
94
- source?: string
95
- }