@daocloud-proto/insight 0.41.1-rc2 → 0.41.1
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.
|
@@ -96,13 +96,6 @@ export type helmInstallConfigResponse = {
|
|
|
96
96
|
values?: string
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export type PreferenceConfig = {
|
|
100
|
-
traceApdexThreshold?: string
|
|
101
|
-
errorRateThresholds?: number[]
|
|
102
|
-
latencyThresholds?: number[]
|
|
103
|
-
slowSqlThreshold?: number
|
|
104
|
-
}
|
|
105
|
-
|
|
106
99
|
export class Insight {
|
|
107
100
|
static GetVersion(req: empty, initReq?: fm.InitReq): Promise<VersionInfo> {
|
|
108
101
|
return fm.fetchReq<empty, VersionInfo>(`/apis/insight.io/v1alpha1/version?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -110,9 +103,6 @@ export class Insight {
|
|
|
110
103
|
static GetGlobalConfig(req: empty, initReq?: fm.InitReq): Promise<GlobalConfig> {
|
|
111
104
|
return fm.fetchReq<empty, GlobalConfig>(`/apis/insight.io/v1alpha1/config?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
112
105
|
}
|
|
113
|
-
static GetPreferenceConfig(req: empty, initReq?: fm.InitReq): Promise<PreferenceConfig> {
|
|
114
|
-
return fm.fetchReq<empty, PreferenceConfig>(`/apis/insight.io/v1alpha1/config/preference?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
115
|
-
}
|
|
116
106
|
static UpdateGlobalConfig(req: GlobalConfig, initReq?: fm.InitReq): Promise<GlobalConfig> {
|
|
117
107
|
return fm.fetchReq<GlobalConfig, GlobalConfig>(`/apis/insight.io/v1alpha1/config`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
118
108
|
}
|
package/log/v1alpha1/log.pb.ts
CHANGED
|
@@ -23,8 +23,6 @@ export enum GetResourcesCountRequestResourcesFilter {
|
|
|
23
23
|
JOB_TOTAL = "JOB_TOTAL",
|
|
24
24
|
POD_NORMAL_TOTAL = "POD_NORMAL_TOTAL",
|
|
25
25
|
POD_TOTAL = "POD_TOTAL",
|
|
26
|
-
GPU_COUNT = "GPU_COUNT",
|
|
27
|
-
GPU_ALLOCATED_COUNT = "GPU_ALLOCATED_COUNT",
|
|
28
26
|
LOG_TOTAL = "LOG_TOTAL",
|
|
29
27
|
TRACE_TOTAL = "TRACE_TOTAL",
|
|
30
28
|
}
|
package/package.json
CHANGED
|
@@ -124,7 +124,6 @@ export type ClusterDetail = {
|
|
|
124
124
|
statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
125
125
|
daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
126
126
|
podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
127
|
-
gpuNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
128
127
|
insightAgentStatus?: insightAgentState
|
|
129
128
|
}
|
|
130
129
|
|