@daocloud-proto/skoala 0.3.3-4 → 0.3.3-40

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 (37) hide show
  1. package/api/general/v1alpha1/skoala.pb.ts +10 -5
  2. package/api/hosted/v1alpha1/gateway.pb.ts +5 -7
  3. package/api/integrated/v1alpha1/instance.pb.ts +29 -19
  4. package/api/integrated/v1alpha1/registry.pb.ts +5 -5
  5. package/api/integrated/v1alpha1/service.pb.ts +8 -11
  6. package/api/skoala/v1alpha1/skoala.pb.ts +3 -0
  7. package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
  8. package/google/api/annotations.pb.ts +1 -0
  9. package/google/api/http.pb.ts +34 -0
  10. package/google/protobuf/any.pb.ts +9 -0
  11. package/google/protobuf/api.pb.ts +32 -0
  12. package/google/protobuf/descriptor.pb.ts +262 -0
  13. package/google/protobuf/duration.pb.ts +9 -0
  14. package/google/protobuf/empty.pb.ts +7 -0
  15. package/google/protobuf/field_mask.pb.ts +8 -0
  16. package/google/protobuf/struct.pb.ts +33 -0
  17. package/google/protobuf/timestamp.pb.ts +9 -0
  18. package/google/protobuf/type.pb.ts +83 -0
  19. package/google/protobuf/wrappers.pb.ts +40 -0
  20. package/google/rpc/status.pb.ts +12 -0
  21. package/insight/v1alpha1/alert.pb.ts +283 -0
  22. package/insight/v1alpha1/notify.pb.ts +75 -0
  23. package/log/v1alpha1/log.pb.ts +103 -0
  24. package/metric/v1alpha1/metric.pb.ts +98 -0
  25. package/package.json +1 -1
  26. package/resource/v1alpha1/cluster.pb.ts +96 -0
  27. package/resource/v1alpha1/job.pb.ts +99 -0
  28. package/resource/v1alpha1/node.pb.ts +63 -0
  29. package/resource/v1alpha1/pod.pb.ts +91 -0
  30. package/resource/v1alpha1/service.pb.ts +61 -0
  31. package/resource/v1alpha1/type.pb.ts +14 -0
  32. package/resource/v1alpha1/workload.pb.ts +70 -0
  33. package/span_metric/v1alpha1/openmetrics.pb.ts +130 -0
  34. package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
  35. package/span_metric/v1alpha1/span_metric.pb.ts +88 -0
  36. package/tracing/v1alpha1/tracing.pb.ts +14 -0
  37. package/type/v1alpha1/page.pb.ts +25 -0
@@ -0,0 +1,96 @@
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 InsightIoApiResourceV1alpha1Type from "./type.pb"
10
+
11
+ export enum ClusterPhase {
12
+ CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
13
+ UNKNOWN = "UNKNOWN",
14
+ CREATING = "CREATING",
15
+ RUNNING = "RUNNING",
16
+ UPDATING = "UPDATING",
17
+ DELETING = "DELETING",
18
+ }
19
+
20
+ export enum ClusterProvider {
21
+ GENERIC = "GENERIC",
22
+ DAOCLOUD_KUBESPRAY = "DAOCLOUD_KUBESPRAY",
23
+ DAOCLOUD_CLUSTER_API = "DAOCLOUD_CLUSTER_API",
24
+ DAOCLOUD_DCE4 = "DAOCLOUD_DCE4",
25
+ REDHAT_OPENSHIFT4 = "REDHAT_OPENSHIFT4",
26
+ SUSE_RANCHER = "SUSE_RANCHER",
27
+ VMWARE_TANZU = "VMWARE_TANZU",
28
+ AWS_EKS = "AWS_EKS",
29
+ ALIYUN_ACK = "ALIYUN_ACK",
30
+ }
31
+
32
+ export enum InsightAgentStatus {
33
+ NOT_INSTALLED = "NOT_INSTALLED",
34
+ HEALTHY = "HEALTHY",
35
+ UNHEALTHY = "UNHEALTHY",
36
+ }
37
+
38
+ export type ListClustersResponse = {
39
+ cluster?: Cluster[]
40
+ }
41
+
42
+ export type Cluster = {
43
+ name?: string
44
+ kubeSystemID?: string
45
+ phase?: ClusterPhase
46
+ }
47
+
48
+ export type ListClusterSummaryRequest = {
49
+ name?: string
50
+ page?: number
51
+ size?: number
52
+ version?: string
53
+ phases?: string[]
54
+ labels?: {[key: string]: string}
55
+ annotations?: {[key: string]: string}
56
+ sortBy?: InsightIoApiTypeV1alpha1Page.SortBy
57
+ orderBy?: InsightIoApiTypeV1alpha1Page.OrderBy
58
+ }
59
+
60
+ export type ListClusterSummaryResponse = {
61
+ clusterSummary?: GetClusterSummary[]
62
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
63
+ }
64
+
65
+ export type GetClusterRequest = {
66
+ name?: string
67
+ }
68
+
69
+ export type GetClusterResponse = {
70
+ clusterResponse?: GetClusterSummary
71
+ }
72
+
73
+ export type GetClusterSummary = {
74
+ name?: string
75
+ phase?: ClusterPhase
76
+ provider?: ClusterProvider
77
+ kubernetesVersion?: string
78
+ creationTimestamp?: string
79
+ nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
80
+ podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
81
+ insightAgentStatus?: InsightAgentStatus
82
+ cpuUsage?: InsightIoApiMetricV1alpha1Metric.samplePair[]
83
+ memoryUsage?: InsightIoApiMetricV1alpha1Metric.samplePair[]
84
+ }
85
+
86
+ export type ListNamespacesRequest = {
87
+ cluster?: string
88
+ }
89
+
90
+ export type ListNamespacesResponse = {
91
+ namespace?: Namespace[]
92
+ }
93
+
94
+ export type Namespace = {
95
+ name?: string
96
+ }
@@ -0,0 +1,99 @@
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 CronJobStatusCronJobState {
11
+ CRONJOB_STATE_UNSPECIFIED = "CRONJOB_STATE_UNSPECIFIED",
12
+ WAITING = "WAITING",
13
+ ACTIVATED = "ACTIVATED",
14
+ STOPPED = "STOPPED",
15
+ DELETING = "DELETING",
16
+ }
17
+
18
+ export enum JobStatusJobState {
19
+ JOB_STATE_UNSPECIFIED = "JOB_STATE_UNSPECIFIED",
20
+ WAITING = "WAITING",
21
+ RUNNING = "RUNNING",
22
+ COMPLETED = "COMPLETED",
23
+ DELETING = "DELETING",
24
+ FAILED = "FAILED",
25
+ }
26
+
27
+ export type ListJobsRequest = {
28
+ cluster?: string
29
+ namespace?: string
30
+ status?: string[]
31
+ page?: number
32
+ size?: number
33
+ name?: string
34
+ }
35
+
36
+ export type ListCronJobsResponse = {
37
+ data?: CronJobSummary[]
38
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
39
+ }
40
+
41
+ export type CronJobSummary = {
42
+ name?: string
43
+ namespace?: string
44
+ status?: CronJobStatus
45
+ jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
46
+ }
47
+
48
+ export type CronJob = {
49
+ name?: string
50
+ cluster?: string
51
+ namespace?: string
52
+ status?: CronJobStatus
53
+ createTimeStamp?: string
54
+ jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
55
+ problem?: InsightIoApiResourceV1alpha1Type.Problem
56
+ }
57
+
58
+ export type CronJobSpec = {
59
+ schedule?: string
60
+ }
61
+
62
+ export type CronJobStatus = {
63
+ phase?: CronJobStatusCronJobState
64
+ }
65
+
66
+ export type GetJobRequest = {
67
+ cluster?: string
68
+ namespace?: string
69
+ name?: string
70
+ }
71
+
72
+ export type ListJobsResponse = {
73
+ data?: JobSummary[]
74
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
75
+ }
76
+
77
+ export type JobSummary = {
78
+ name?: string
79
+ namespace?: string
80
+ status?: JobStatus
81
+ jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
82
+ }
83
+
84
+ export type JobStatus = {
85
+ active?: number
86
+ succeed?: number
87
+ failed?: number
88
+ phase?: JobStatusJobState
89
+ }
90
+
91
+ export type Job = {
92
+ name?: string
93
+ cluster?: string
94
+ namespace?: string
95
+ status?: JobStatus
96
+ createTimeStamp?: string
97
+ jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
98
+ problem?: InsightIoApiResourceV1alpha1Type.Problem
99
+ }
@@ -0,0 +1,63 @@
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 Status {
11
+ PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
12
+ Ready = "Ready",
13
+ NotReady = "NotReady",
14
+ Unknown = "Unknown",
15
+ }
16
+
17
+ export type ListNodesRequest = {
18
+ cluster?: string
19
+ page?: number
20
+ size?: number
21
+ status?: string[]
22
+ name?: string
23
+ }
24
+
25
+ export type ListNodesResponse = {
26
+ nodes?: NodeSummary[]
27
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
28
+ }
29
+
30
+ export type NodeSummary = {
31
+ name?: string
32
+ status?: Status
33
+ podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
34
+ }
35
+
36
+ export type GetNodeRequest = {
37
+ cluster?: string
38
+ name?: string
39
+ }
40
+
41
+ export type Node = {
42
+ name?: string
43
+ cluster?: string
44
+ operatingSystem?: string
45
+ address?: string
46
+ creationTimeStamp?: string
47
+ status?: Status
48
+ podSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
49
+ usage?: usage
50
+ problem?: InsightIoApiResourceV1alpha1Type.Problem
51
+ }
52
+
53
+ export type usage = {
54
+ cpuCapacity?: string
55
+ cpuAllocated?: number
56
+ cpuUsage?: number
57
+ memoryCapacity?: string
58
+ memoryAllocated?: number
59
+ memoryUsage?: number
60
+ storageCapacity?: string
61
+ storageAllocated?: string
62
+ storageUsage?: number
63
+ }
@@ -0,0 +1,91 @@
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 PodStatusPhase {
11
+ PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
12
+ UNKNOWN = "UNKNOWN",
13
+ PENDING = "PENDING",
14
+ RUNNING = "RUNNING",
15
+ SUCCEED = "SUCCEED",
16
+ FAILED = "FAILED",
17
+ }
18
+
19
+ export enum ContainerStatePhase {
20
+ PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
21
+ WAITING = "WAITING",
22
+ RUNNING = "RUNNING",
23
+ TERMINATED = "TERMINATED",
24
+ }
25
+
26
+ export type ListPodsRequest = {
27
+ cluster?: string
28
+ namespace?: string
29
+ status?: string[]
30
+ page?: number
31
+ size?: number
32
+ name?: string
33
+ }
34
+
35
+ export type ListPodsResponse = {
36
+ data?: PodSummary[]
37
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
38
+ }
39
+
40
+ export type PodSummary = {
41
+ name?: string
42
+ namespace?: string
43
+ status?: PodStatus
44
+ containerNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
45
+ podIP?: string
46
+ }
47
+
48
+ export type PodStatus = {
49
+ phase?: PodStatusPhase
50
+ }
51
+
52
+ export type GetPodRequest = {
53
+ cluster?: string
54
+ namespace?: string
55
+ name?: string
56
+ }
57
+
58
+ export type Pod = {
59
+ name?: string
60
+ cluster?: string
61
+ namespace?: string
62
+ status?: PodStatus
63
+ createTimeStamp?: string
64
+ containerNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
65
+ podIP?: string
66
+ hostIP?: string
67
+ problem?: InsightIoApiResourceV1alpha1Type.Problem
68
+ }
69
+
70
+ export type ListContainersRequest = {
71
+ cluster?: string
72
+ namespace?: string
73
+ page?: number
74
+ size?: number
75
+ name?: string
76
+ status?: string[]
77
+ }
78
+
79
+ export type ListContainersResponse = {
80
+ data?: ContainerSummary[]
81
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
82
+ }
83
+
84
+ export type ContainerSummary = {
85
+ name?: string
86
+ status?: ContainerState
87
+ }
88
+
89
+ export type ContainerState = {
90
+ status?: ContainerStatePhase
91
+ }
@@ -0,0 +1,61 @@
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
+ page?: number
28
+ size?: number
29
+ name?: string
30
+ }
31
+
32
+ export type ListServicesResponse = {
33
+ data?: serviceSummary[]
34
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
35
+ }
36
+
37
+ export type serviceSummary = {
38
+ name?: string
39
+ namespace?: string
40
+ }
41
+
42
+ export type Service = {
43
+ name?: string
44
+ cluster?: string
45
+ namespace?: string
46
+ createTimeStamp?: string
47
+ serviceType?: ServiceType
48
+ clusterIP?: string
49
+ workloadData?: WorkloadSum[]
50
+ }
51
+
52
+ export type WorkloadSum = {
53
+ workloadKind?: WorkloadSumKind
54
+ name?: string
55
+ }
56
+
57
+ export type GetServiceRequest = {
58
+ cluster?: string
59
+ namespace?: string
60
+ name?: string
61
+ }
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type ResourceNumSummary = {
7
+ totalNum?: number
8
+ readyNum?: number
9
+ }
10
+
11
+ export type Problem = {
12
+ alert?: string
13
+ event?: string
14
+ }
@@ -0,0 +1,70 @@
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
+ deployments = "deployments",
12
+ statefulsets = "statefulsets",
13
+ daemonsets = "daemonsets",
14
+ }
15
+
16
+ export enum WorkloadState {
17
+ WORKLOAD_STATE_UNKNOWN = "WORKLOAD_STATE_UNKNOWN",
18
+ WORKLOAD_STATE_RUNNING = "WORKLOAD_STATE_RUNNING",
19
+ WORKLOAD_STATE_DELETING = "WORKLOAD_STATE_DELETING",
20
+ WORKLOAD_STATE_NOT_READY = "WORKLOAD_STATE_NOT_READY",
21
+ WORKLOAD_STATE_STOPPED = "WORKLOAD_STATE_STOPPED",
22
+ WORKLOAD_STATE_WAITING = "WORKLOAD_STATE_WAITING",
23
+ }
24
+
25
+ export type ListWorkloadsRequest = {
26
+ cluster?: string
27
+ namespace?: string
28
+ page?: number
29
+ size?: number
30
+ name?: string
31
+ phases?: string[]
32
+ }
33
+
34
+ export type ListWorkloadsResponse = {
35
+ data?: workloadSummary[]
36
+ pagination?: InsightIoApiTypeV1alpha1Page.Page
37
+ }
38
+
39
+ export type workloadSummary = {
40
+ name?: string
41
+ namespace?: string
42
+ status?: WorkloadState
43
+ podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
44
+ }
45
+
46
+ export type Workload = {
47
+ name?: string
48
+ cluster?: string
49
+ namespace?: string
50
+ status?: WorkloadState
51
+ createTimeStamp?: string
52
+ podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
53
+ problem?: InsightIoApiResourceV1alpha1Type.Problem
54
+ }
55
+
56
+ export type GetWorkloadRequest = {
57
+ cluster?: string
58
+ namespace?: string
59
+ name?: string
60
+ }
61
+
62
+ export type workloadUsage = {
63
+ cpuRequest?: string
64
+ cpuLimit?: string
65
+ cpuUsage?: string
66
+ memoryRequest?: string
67
+ memoryLimit?: string
68
+ memoryUsage?: string
69
+ networkUsage?: string
70
+ }
@@ -0,0 +1,130 @@
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
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
10
+ type OneOf<T> =
11
+ | { [k in keyof T]?: undefined }
12
+ | (
13
+ keyof T extends infer K ?
14
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
15
+ : never)
16
+ : never);
17
+
18
+ export enum MetricType {
19
+ UNKNOWN = "UNKNOWN",
20
+ GAUGE = "GAUGE",
21
+ COUNTER = "COUNTER",
22
+ STATE_SET = "STATE_SET",
23
+ INFO = "INFO",
24
+ HISTOGRAM = "HISTOGRAM",
25
+ GAUGE_HISTOGRAM = "GAUGE_HISTOGRAM",
26
+ SUMMARY = "SUMMARY",
27
+ }
28
+
29
+ export type MetricSet = {
30
+ metricFamilies?: MetricFamily[]
31
+ }
32
+
33
+ export type MetricFamily = {
34
+ name?: string
35
+ type?: MetricType
36
+ unit?: string
37
+ help?: string
38
+ metrics?: Metric[]
39
+ }
40
+
41
+ export type Metric = {
42
+ labels?: Label[]
43
+ metricPoints?: MetricPoint[]
44
+ }
45
+
46
+ export type Label = {
47
+ name?: string
48
+ value?: string
49
+ }
50
+
51
+
52
+ type BaseMetricPoint = {
53
+ timestamp?: GoogleProtobufTimestamp.Timestamp
54
+ }
55
+
56
+ export type MetricPoint = BaseMetricPoint
57
+ & OneOf<{ unknownValue: UnknownValue; gaugeValue: GaugeValue; counterValue: CounterValue; histogramValue: HistogramValue; stateSetValue: StateSetValue; infoValue: InfoValue; summaryValue: SummaryValue }>
58
+
59
+
60
+ type BaseUnknownValue = {
61
+ }
62
+
63
+ export type UnknownValue = BaseUnknownValue
64
+ & OneOf<{ doubleValue: number; intValue: string }>
65
+
66
+
67
+ type BaseGaugeValue = {
68
+ }
69
+
70
+ export type GaugeValue = BaseGaugeValue
71
+ & OneOf<{ doubleValue: number; intValue: string }>
72
+
73
+
74
+ type BaseCounterValue = {
75
+ created?: GoogleProtobufTimestamp.Timestamp
76
+ exemplar?: Exemplar
77
+ }
78
+
79
+ export type CounterValue = BaseCounterValue
80
+ & OneOf<{ doubleValue: number; intValue: string }>
81
+
82
+ export type HistogramValueBucket = {
83
+ count?: string
84
+ upperBound?: number
85
+ exemplar?: Exemplar
86
+ }
87
+
88
+
89
+ type BaseHistogramValue = {
90
+ count?: string
91
+ created?: GoogleProtobufTimestamp.Timestamp
92
+ buckets?: HistogramValueBucket[]
93
+ }
94
+
95
+ export type HistogramValue = BaseHistogramValue
96
+ & OneOf<{ doubleValue: number; intValue: string }>
97
+
98
+ export type Exemplar = {
99
+ value?: number
100
+ timestamp?: GoogleProtobufTimestamp.Timestamp
101
+ label?: Label[]
102
+ }
103
+
104
+ export type StateSetValueState = {
105
+ enabled?: boolean
106
+ name?: string
107
+ }
108
+
109
+ export type StateSetValue = {
110
+ states?: StateSetValueState[]
111
+ }
112
+
113
+ export type InfoValue = {
114
+ info?: Label[]
115
+ }
116
+
117
+ export type SummaryValueQuantile = {
118
+ quantile?: number
119
+ value?: number
120
+ }
121
+
122
+
123
+ type BaseSummaryValue = {
124
+ count?: string
125
+ created?: GoogleProtobufTimestamp.Timestamp
126
+ quantile?: SummaryValueQuantile[]
127
+ }
128
+
129
+ export type SummaryValue = BaseSummaryValue
130
+ & OneOf<{ doubleValue: number; intValue: string }>
@@ -0,0 +1,14 @@
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
+ }