@daocloud-proto/skoala 0.3.1 → 0.3.3-101
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/api/general/v1alpha1/skoala.pb.ts +19 -7
- package/api/hosted/v1alpha1/gateway.pb.ts +112 -59
- package/api/hosted/v1alpha1/nacos.pb.ts +92 -2
- package/api/integrated/v1alpha1/insight.pb.ts +19 -4
- package/api/integrated/v1alpha1/instance.pb.ts +29 -19
- package/api/integrated/v1alpha1/registry.pb.ts +6 -5
- package/api/integrated/v1alpha1/service.pb.ts +8 -11
- package/api/skoala/v1alpha1/book.pb.ts +2 -2
- package/api/skoala/v1alpha1/skoala.pb.ts +25 -13
- package/feature_gate/v1alpha1/feature_gate.pb.ts +27 -0
- package/fetch.pb.ts +109 -0
- package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
- package/google/api/annotations.pb.ts +1 -0
- package/google/api/http.pb.ts +34 -0
- package/google/protobuf/any.pb.ts +9 -0
- package/google/protobuf/api.pb.ts +32 -0
- package/google/protobuf/descriptor.pb.ts +262 -0
- package/google/protobuf/duration.pb.ts +9 -0
- package/google/protobuf/empty.pb.ts +7 -0
- package/google/protobuf/field_mask.pb.ts +8 -0
- package/google/protobuf/struct.pb.ts +33 -0
- package/google/protobuf/timestamp.pb.ts +9 -0
- package/google/protobuf/type.pb.ts +83 -0
- package/google/protobuf/wrappers.pb.ts +40 -0
- package/google/rpc/status.pb.ts +12 -0
- package/insight/v1alpha1/alert.pb.ts +292 -0
- package/insight/v1alpha1/notify.pb.ts +84 -0
- package/log/v1alpha1/log.pb.ts +103 -0
- package/metric/v1alpha1/metric.pb.ts +98 -0
- package/package.json +1 -1
- package/resource/v1alpha1/cluster.pb.ts +102 -0
- package/resource/v1alpha1/job.pb.ts +93 -0
- package/resource/v1alpha1/node.pb.ts +62 -0
- package/resource/v1alpha1/pod.pb.ts +82 -0
- package/resource/v1alpha1/service.pb.ts +61 -0
- package/resource/v1alpha1/type.pb.ts +9 -0
- package/resource/v1alpha1/workload.pb.ts +69 -0
- package/span_metric/v1alpha1/openmetrics.pb.ts +130 -0
- package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
- package/span_metric/v1alpha1/span_metric.pb.ts +113 -0
- package/type/v1alpha1/page.pb.ts +11 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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 GoogleProtobufDuration from "../../google/protobuf/duration.pb"
|
|
8
|
+
import * as InsightIoApiSpan_metricV1alpha1Openmetrics from "./openmetrics.pb"
|
|
9
|
+
import * as InsightIoApiSpan_metricV1alpha1Otelspankind from "./otelspankind.pb"
|
|
10
|
+
export type MetricsQueryBaseRequest = {
|
|
11
|
+
cluster?: string
|
|
12
|
+
namespace?: string
|
|
13
|
+
instanceName?: string
|
|
14
|
+
extensionFilters?: string
|
|
15
|
+
serviceNames?: string[]
|
|
16
|
+
groupByOperation?: boolean
|
|
17
|
+
endTime?: string
|
|
18
|
+
lookback?: string
|
|
19
|
+
step?: string
|
|
20
|
+
ratePer?: string
|
|
21
|
+
spanKinds?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type GetLatenciesRequest = {
|
|
25
|
+
baseRequest?: MetricsQueryBaseRequest
|
|
26
|
+
quantile?: number
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type GetCallRatesRequest = {
|
|
30
|
+
baseRequest?: MetricsQueryBaseRequest
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type GetErrorRatesRequest = {
|
|
34
|
+
baseRequest?: MetricsQueryBaseRequest
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type GetMinStepDurationRequest = {
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type GetMinStepDurationResponse = {
|
|
41
|
+
minStep?: GoogleProtobufDuration.Duration
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type GetApdexRequest = {
|
|
45
|
+
cluster?: string
|
|
46
|
+
namespace?: string
|
|
47
|
+
name?: string
|
|
48
|
+
apdexThreshold?: string
|
|
49
|
+
startTime?: string
|
|
50
|
+
endTime?: string
|
|
51
|
+
extensionFilters?: string
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type GetMetricsResponse = {
|
|
55
|
+
metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricFamily
|
|
56
|
+
metricsWithOperation?: MetricsFamilyWithOperation
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type MetricsFamilyWithOperation = {
|
|
60
|
+
name?: string
|
|
61
|
+
type?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricType
|
|
62
|
+
unit?: string
|
|
63
|
+
help?: string
|
|
64
|
+
metrics?: MetricsWithOperation[]
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type MetricsWithOperation = {
|
|
68
|
+
operation?: string
|
|
69
|
+
metricPointsGroups?: MetricsPointsGroup[]
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type MetricsPointsGroup = {
|
|
73
|
+
apdex?: string
|
|
74
|
+
metricPoints?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
75
|
+
metricsLabel?: string
|
|
76
|
+
metricsAvg?: number
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type GetREDRequest = {
|
|
80
|
+
baseRequest?: MetricsQueryBaseRequest
|
|
81
|
+
quantile?: string
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type GetREDResponse = {
|
|
85
|
+
p95Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
86
|
+
p75Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
87
|
+
p50Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
88
|
+
callsMetric?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
89
|
+
errorsMetrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type GetServiceDetailRequest = {
|
|
93
|
+
baseRequest?: MetricsQueryBaseRequest
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type GetServiceDetailResponse = {
|
|
97
|
+
p95Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
98
|
+
p75Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
99
|
+
p50Metrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
100
|
+
reqRateMetric?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
101
|
+
repLatencyMetric?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
102
|
+
errorsRateMetrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
103
|
+
totalCallsMetrics?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
104
|
+
avgReqRate?: number
|
|
105
|
+
avgRepLatency?: number
|
|
106
|
+
avgErrorTate?: number
|
|
107
|
+
totalCalls?: number
|
|
108
|
+
apdex?: number
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type GetOperationDetailResponse = {
|
|
112
|
+
metrics?: MetricsWithOperation[]
|
|
113
|
+
}
|