@daocloud-proto/skoala 0.3.3-123 → 0.3.3-129
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/hosted/v1alpha1/gateway.pb.ts +1 -0
- package/api/hosted/v1alpha1/nacos.pb.ts +14 -2
- package/api/hosted/v1alpha1/sentinel.pb.ts +51 -10
- package/api/integrated/v1alpha1/registry.pb.ts +2 -0
- package/api/skoala/v1alpha1/skoala.pb.ts +6 -6
- package/insight/v1alpha1/alert.pb.ts +8 -9
- package/log/v1alpha1/log.pb.ts +23 -13
- package/package.json +1 -1
- package/resource/v1alpha1/cluster.pb.ts +2 -3
- package/span_metric/v1alpha1/span_metric.pb.ts +13 -26
|
@@ -20,6 +20,13 @@ export enum NacosConfigType {
|
|
|
20
20
|
cluster = "cluster",
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export enum NacosConfigServiceType {
|
|
24
|
+
SERVICE_TYPE_UNSPECIFIED = "SERVICE_TYPE_UNSPECIFIED",
|
|
25
|
+
NodePort = "NodePort",
|
|
26
|
+
ClusterIP = "ClusterIP",
|
|
27
|
+
LoadBalancer = "LoadBalancer",
|
|
28
|
+
}
|
|
29
|
+
|
|
23
30
|
export type ListNacosReq = {
|
|
24
31
|
workspaceId?: string
|
|
25
32
|
clusterName?: string
|
|
@@ -38,6 +45,9 @@ export type Nacos = {
|
|
|
38
45
|
clusterName?: string
|
|
39
46
|
nacosName?: string
|
|
40
47
|
namespaceName?: string
|
|
48
|
+
type?: NacosConfigType
|
|
49
|
+
serviceType?: NacosConfigServiceType
|
|
50
|
+
nodePort?: number
|
|
41
51
|
status?: NacosStatus
|
|
42
52
|
replicas?: number
|
|
43
53
|
image?: string
|
|
@@ -119,10 +129,12 @@ export type DeleteNacosRes = {
|
|
|
119
129
|
export type NacosConfig = {
|
|
120
130
|
type?: NacosConfigType
|
|
121
131
|
version?: string
|
|
122
|
-
replicas?:
|
|
132
|
+
replicas?: number
|
|
123
133
|
cpu?: string
|
|
124
134
|
memory?: string
|
|
125
|
-
|
|
135
|
+
serviceType?: NacosConfigServiceType
|
|
136
|
+
nodePort?: string
|
|
137
|
+
databaseEnabled?: boolean
|
|
126
138
|
databaseParam?: DatabaseParam
|
|
127
139
|
}
|
|
128
140
|
|
|
@@ -3,42 +3,83 @@
|
|
|
3
3
|
/*
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
|
+
|
|
7
|
+
import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
|
|
6
8
|
export type ListSentinelReq = {
|
|
7
|
-
|
|
9
|
+
workspace?: string
|
|
10
|
+
cluster?: string
|
|
11
|
+
namespace?: string
|
|
8
12
|
page?: number
|
|
13
|
+
pageSize?: number
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
export type ListSentinelRes = {
|
|
17
|
+
items?: Sentinel[]
|
|
18
|
+
pagination?: SkoalaApiGeneralV1alpha1Skoala.Pagination
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type Sentinel = {
|
|
22
|
+
workspace?: string
|
|
23
|
+
cluster?: string
|
|
24
|
+
namespace?: string
|
|
25
|
+
name?: string
|
|
26
|
+
config?: SentinelConfig
|
|
12
27
|
}
|
|
13
28
|
|
|
14
29
|
export type GetSentinelReq = {
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
workspace?: string
|
|
31
|
+
cluster?: string
|
|
32
|
+
namespace?: string
|
|
33
|
+
name?: string
|
|
17
34
|
}
|
|
18
35
|
|
|
19
36
|
export type GetSentinelRes = {
|
|
37
|
+
sentinel?: Sentinel
|
|
20
38
|
}
|
|
21
39
|
|
|
22
40
|
export type UpdateSentinelReq = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
41
|
+
workspace?: string
|
|
42
|
+
cluster?: string
|
|
43
|
+
namespace?: string
|
|
44
|
+
name?: string
|
|
45
|
+
nacosAddress?: string
|
|
46
|
+
config?: SentinelConfig
|
|
26
47
|
}
|
|
27
48
|
|
|
28
49
|
export type UpdateSentinelRes = {
|
|
29
50
|
}
|
|
30
51
|
|
|
52
|
+
export type Resources = {
|
|
53
|
+
cpuRequests?: string
|
|
54
|
+
cpuLimits?: string
|
|
55
|
+
memoryRequests?: string
|
|
56
|
+
memoryLimits?: string
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type SentinelConfig = {
|
|
60
|
+
type?: string
|
|
61
|
+
port?: number
|
|
62
|
+
nodePort?: number
|
|
63
|
+
resources?: Resources
|
|
64
|
+
}
|
|
65
|
+
|
|
31
66
|
export type CreateSentinelReq = {
|
|
32
|
-
|
|
33
|
-
|
|
67
|
+
workspace?: string
|
|
68
|
+
cluster?: string
|
|
69
|
+
namespace?: string
|
|
70
|
+
name?: string
|
|
71
|
+
nacosAddress?: string
|
|
72
|
+
config?: SentinelConfig
|
|
34
73
|
}
|
|
35
74
|
|
|
36
75
|
export type CreateSentinelRes = {
|
|
37
76
|
}
|
|
38
77
|
|
|
39
78
|
export type DeleteSentinelReq = {
|
|
40
|
-
|
|
41
|
-
|
|
79
|
+
workspace?: string
|
|
80
|
+
cluster?: string
|
|
81
|
+
namespace?: string
|
|
82
|
+
name?: string
|
|
42
83
|
}
|
|
43
84
|
|
|
44
85
|
export type DeleteSentinelRes = {
|
|
@@ -68,6 +68,7 @@ export type GetRegistryRes = {
|
|
|
68
68
|
export type UpdateRegistryReq = {
|
|
69
69
|
workspaceId?: string
|
|
70
70
|
registryId?: string
|
|
71
|
+
extId?: string
|
|
71
72
|
name?: string
|
|
72
73
|
type?: string
|
|
73
74
|
addresses?: string[]
|
|
@@ -82,6 +83,7 @@ export type UpdateRegistryRes = {
|
|
|
82
83
|
export type CreateRegistryReq = {
|
|
83
84
|
workspaceId?: string
|
|
84
85
|
name?: string
|
|
86
|
+
extId?: string
|
|
85
87
|
type?: string
|
|
86
88
|
addresses?: string[]
|
|
87
89
|
namespaces?: Namespace[]
|
|
@@ -96,19 +96,19 @@ export class Nacos {
|
|
|
96
96
|
}
|
|
97
97
|
export class Sentinel {
|
|
98
98
|
static List(req: SkoalaApiHostedV1alpha1Sentinel.ListSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListSentinelRes> {
|
|
99
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListSentinelReq, SkoalaApiHostedV1alpha1Sentinel.ListSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
99
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListSentinelReq, SkoalaApiHostedV1alpha1Sentinel.ListSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinels?${fm.renderURLSearchParams(req, ["workspace", "cluster", "namespace"])}`, {...initReq, method: "GET"})
|
|
100
100
|
}
|
|
101
|
-
static Get(req: SkoalaApiHostedV1alpha1Sentinel.GetSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.
|
|
102
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetSentinelReq, SkoalaApiHostedV1alpha1Sentinel.
|
|
101
|
+
static Get(req: SkoalaApiHostedV1alpha1Sentinel.GetSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.Sentinel> {
|
|
102
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetSentinelReq, SkoalaApiHostedV1alpha1Sentinel.Sentinel>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinels/${req["name"]}?${fm.renderURLSearchParams(req, ["workspace", "cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
103
103
|
}
|
|
104
104
|
static Create(req: SkoalaApiHostedV1alpha1Sentinel.CreateSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.CreateSentinelRes> {
|
|
105
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateSentinelReq, SkoalaApiHostedV1alpha1Sentinel.CreateSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
105
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateSentinelReq, SkoalaApiHostedV1alpha1Sentinel.CreateSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinels`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
106
106
|
}
|
|
107
107
|
static Update(req: SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelRes> {
|
|
108
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelReq, SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
108
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelReq, SkoalaApiHostedV1alpha1Sentinel.UpdateSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinels/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
109
109
|
}
|
|
110
110
|
static Delete(req: SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelRes> {
|
|
111
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelReq, SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
111
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelReq, SkoalaApiHostedV1alpha1Sentinel.DeleteSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinels/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
export class Gateway {
|
|
@@ -63,7 +63,7 @@ export type RuleSummary = {
|
|
|
63
63
|
ruleId?: string
|
|
64
64
|
ruleName?: string
|
|
65
65
|
severity?: Severity
|
|
66
|
-
|
|
66
|
+
clusterName?: string
|
|
67
67
|
namespace?: string
|
|
68
68
|
targetType?: TargetType
|
|
69
69
|
targetNames?: string[]
|
|
@@ -84,9 +84,8 @@ export type RuleID = {
|
|
|
84
84
|
export type Rule = {
|
|
85
85
|
ruleId?: string
|
|
86
86
|
ruleName?: string
|
|
87
|
-
ruleGroupName?: string
|
|
88
87
|
builtin?: boolean
|
|
89
|
-
|
|
88
|
+
clusterName?: string
|
|
90
89
|
namespace?: string
|
|
91
90
|
source?: RuleSource
|
|
92
91
|
targetType?: TargetType
|
|
@@ -118,7 +117,7 @@ export type AnnotationReceiver = {
|
|
|
118
117
|
export type CreateRuleRequest = {
|
|
119
118
|
ruleName?: string
|
|
120
119
|
description?: string
|
|
121
|
-
|
|
120
|
+
clusterName?: string
|
|
122
121
|
namespace?: string
|
|
123
122
|
source?: RuleSource
|
|
124
123
|
targetType?: TargetType
|
|
@@ -135,7 +134,7 @@ export type CreateRuleRequest = {
|
|
|
135
134
|
export type UpdateRuleRequest = {
|
|
136
135
|
id?: string
|
|
137
136
|
description?: string
|
|
138
|
-
|
|
137
|
+
clusterName?: string
|
|
139
138
|
namespace?: string
|
|
140
139
|
targetNames?: string[]
|
|
141
140
|
expr?: string
|
|
@@ -150,7 +149,7 @@ export type UpdateRuleRequest = {
|
|
|
150
149
|
export type ListAlertsRequest = {
|
|
151
150
|
resolved?: boolean
|
|
152
151
|
name?: string
|
|
153
|
-
|
|
152
|
+
clusterName?: string
|
|
154
153
|
namespace?: string
|
|
155
154
|
severity?: Severity
|
|
156
155
|
page?: number
|
|
@@ -167,7 +166,7 @@ export type AlertSummary = {
|
|
|
167
166
|
alertId?: string
|
|
168
167
|
ruleName?: string
|
|
169
168
|
severity?: Severity
|
|
170
|
-
|
|
169
|
+
clusterName?: string
|
|
171
170
|
namespace?: string
|
|
172
171
|
targetType?: TargetType
|
|
173
172
|
targetName?: string
|
|
@@ -183,7 +182,7 @@ export type AlertInfo = {
|
|
|
183
182
|
fingerprint?: string
|
|
184
183
|
ruleName?: string
|
|
185
184
|
ruleId?: string
|
|
186
|
-
|
|
185
|
+
clusterName?: string
|
|
187
186
|
namespace?: string
|
|
188
187
|
targetType?: TargetType
|
|
189
188
|
targetName?: string
|
|
@@ -200,7 +199,7 @@ export type AlertInfo = {
|
|
|
200
199
|
|
|
201
200
|
export type CountAlertRequest = {
|
|
202
201
|
resolved?: boolean
|
|
203
|
-
|
|
202
|
+
clusterName?: string
|
|
204
203
|
namespace?: string
|
|
205
204
|
targetType?: TargetType
|
|
206
205
|
targetName?: string
|
package/log/v1alpha1/log.pb.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
|
|
8
|
+
|
|
7
9
|
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
8
10
|
type OneOf<T> =
|
|
9
11
|
| { [k in keyof T]?: undefined }
|
|
@@ -37,16 +39,25 @@ export type LogQueryEventFilter = {
|
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
|
|
40
|
-
type
|
|
42
|
+
type BaseQueryLogRequest = {
|
|
43
|
+
startTime?: string
|
|
44
|
+
endTime?: string
|
|
45
|
+
page?: number
|
|
46
|
+
pageSize?: number
|
|
47
|
+
sorts?: string[]
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type QueryLogRequest = BaseQueryLogRequest
|
|
51
|
+
& OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
type BaseQueryLogHistogramRequest = {
|
|
41
55
|
startTime?: string
|
|
42
56
|
endTime?: string
|
|
43
|
-
from?: number
|
|
44
|
-
size?: number
|
|
45
|
-
sort?: string
|
|
46
57
|
interval?: string
|
|
47
58
|
}
|
|
48
59
|
|
|
49
|
-
export type
|
|
60
|
+
export type QueryLogHistogramRequest = BaseQueryLogHistogramRequest
|
|
50
61
|
& OneOf<{ resource: LogQueryResourceFilter; system: LogQuerySystemFilter; event: LogQueryEventFilter }>
|
|
51
62
|
|
|
52
63
|
export type LogContextResourceFilter = {
|
|
@@ -66,7 +77,7 @@ export type LogContextEventFilter = {
|
|
|
66
77
|
}
|
|
67
78
|
|
|
68
79
|
|
|
69
|
-
type
|
|
80
|
+
type BaseQueryLogContextRequest = {
|
|
70
81
|
startTime?: string
|
|
71
82
|
endTime?: string
|
|
72
83
|
before?: number
|
|
@@ -74,7 +85,7 @@ type BaseLogContextRequest = {
|
|
|
74
85
|
nanotimestamp?: string
|
|
75
86
|
}
|
|
76
87
|
|
|
77
|
-
export type
|
|
88
|
+
export type QueryLogContextRequest = BaseQueryLogContextRequest
|
|
78
89
|
& OneOf<{ resource: LogContextResourceFilter; system: LogContextSystemFilter; event: LogContextEventFilter }>
|
|
79
90
|
|
|
80
91
|
export type LogQueryResult = {
|
|
@@ -83,14 +94,13 @@ export type LogQueryResult = {
|
|
|
83
94
|
labels?: {[key: string]: string}
|
|
84
95
|
}
|
|
85
96
|
|
|
86
|
-
export type
|
|
87
|
-
|
|
88
|
-
|
|
97
|
+
export type QueryLogResponse = {
|
|
98
|
+
items?: LogQueryResult[]
|
|
99
|
+
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
89
100
|
}
|
|
90
101
|
|
|
91
|
-
export type
|
|
92
|
-
|
|
93
|
-
data?: LogHistogramResult[]
|
|
102
|
+
export type QueryLogHistogramResponse = {
|
|
103
|
+
items?: LogHistogramResult[]
|
|
94
104
|
}
|
|
95
105
|
|
|
96
106
|
export type LogHistogramResult = {
|
package/package.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import * as InsightIoApiMetricV1alpha1Metric from "../../metric/v1alpha1/metric.pb"
|
|
8
7
|
import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
|
|
9
8
|
import * as InsightIoApiResourceV1alpha1Type from "./type.pb"
|
|
10
9
|
|
|
@@ -64,6 +63,7 @@ export type GetClusterRequest = {
|
|
|
64
63
|
|
|
65
64
|
export type ClusterSummary = {
|
|
66
65
|
name?: string
|
|
66
|
+
kubeSystemId?: string
|
|
67
67
|
phase?: ClusterPhase
|
|
68
68
|
provider?: ClusterProvider
|
|
69
69
|
kubernetesVersion?: string
|
|
@@ -71,12 +71,11 @@ export type ClusterSummary = {
|
|
|
71
71
|
nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
72
72
|
podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
73
73
|
insightAgentStatus?: InsightAgentStatus
|
|
74
|
-
cpuUsage?: InsightIoApiMetricV1alpha1Metric.samplePair[]
|
|
75
|
-
memoryUsage?: InsightIoApiMetricV1alpha1Metric.samplePair[]
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
export type ClusterDetail = {
|
|
79
77
|
name?: string
|
|
78
|
+
kubeSystemId?: string
|
|
80
79
|
phase?: ClusterPhase
|
|
81
80
|
provider?: ClusterProvider
|
|
82
81
|
kubernetesVersion?: string
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as GoogleProtobufDuration from "../../google/protobuf/duration.pb"
|
|
8
|
+
import * as InsightIoApiMetricV1alpha1Metric from "../../metric/v1alpha1/metric.pb"
|
|
8
9
|
import * as InsightIoApiSpan_metricV1alpha1Openmetrics from "./openmetrics.pb"
|
|
9
10
|
import * as InsightIoApiSpan_metricV1alpha1Otelspankind from "./otelspankind.pb"
|
|
10
11
|
export type MetricsQueryBaseRequest = {
|
|
@@ -65,45 +66,31 @@ export type MetricsFamilyWithOperation = {
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
export type MetricsWithOperation = {
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
operationName?: string
|
|
70
|
+
metricGroups?: MetricsGroup[]
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
export type
|
|
73
|
-
|
|
74
|
-
metricPoints?: InsightIoApiSpan_metricV1alpha1Openmetrics.MetricPoint[]
|
|
73
|
+
export type MetricsGroup = {
|
|
74
|
+
metrics?: InsightIoApiMetricV1alpha1Metric.samplePair[]
|
|
75
75
|
metricsLabel?: string
|
|
76
76
|
metricsAvg?: number
|
|
77
77
|
}
|
|
78
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
79
|
export type GetServiceDetailRequest = {
|
|
93
80
|
baseRequest?: MetricsQueryBaseRequest
|
|
94
81
|
}
|
|
95
82
|
|
|
96
83
|
export type GetServiceDetailResponse = {
|
|
97
|
-
p95Metrics?:
|
|
98
|
-
p75Metrics?:
|
|
99
|
-
p50Metrics?:
|
|
100
|
-
reqRateMetric?:
|
|
101
|
-
repLatencyMetric?:
|
|
102
|
-
errorsRateMetrics?:
|
|
103
|
-
totalCallsMetrics?:
|
|
84
|
+
p95Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
85
|
+
p75Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
86
|
+
p50Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
87
|
+
reqRateMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
88
|
+
repLatencyMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
89
|
+
errorsRateMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
90
|
+
totalCallsMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
|
|
104
91
|
avgReqRate?: number
|
|
105
92
|
avgRepLatency?: number
|
|
106
|
-
|
|
93
|
+
avgErrorRate?: number
|
|
107
94
|
totalCalls?: number
|
|
108
95
|
apdex?: number
|
|
109
96
|
}
|