@daocloud-proto/insight 0.18.1-dev2-32-g7b8dc33 → 0.18.1-dev2-36-g2f87234
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.
|
@@ -354,7 +354,7 @@ export class Tracing {
|
|
|
354
354
|
return fm.fetchReq<InsightIoApiTracingV1alpha1Tracing.ListServiceNamesRequest, InsightIoApiTracingV1alpha1Tracing.GetServiceNamesResponse>(`/apis/insight.io/v1alpha1/traces/service-names?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
355
355
|
}
|
|
356
356
|
static GetServices(req: InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesRequest, initReq?: fm.InitReq): Promise<InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesResponse> {
|
|
357
|
-
return fm.fetchReq<InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesRequest, InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesResponse>(`/apis/insight.io/v1alpha1/traces/
|
|
357
|
+
return fm.fetchReq<InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesRequest, InsightIoApiSpan_metricV1alpha1Span_metric.GetServicesResponse>(`/apis/insight.io/v1alpha1/traces/services?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
358
358
|
}
|
|
359
359
|
static QueryOperations(req: InsightIoApiTracingV1alpha1Tracing.QueryOperationsRequest, initReq?: fm.InitReq): Promise<InsightIoApiTracingV1alpha1Tracing.QueryOperationsResponse> {
|
|
360
360
|
return fm.fetchReq<InsightIoApiTracingV1alpha1Tracing.QueryOperationsRequest, InsightIoApiTracingV1alpha1Tracing.QueryOperationsResponse>(`/apis/insight.io/v1alpha1/traces/clusters/${req["clusterName"]}/operations?${fm.renderURLSearchParams(req, ["clusterName"])}`, {...initReq, method: "GET"})
|
package/package.json
CHANGED
|
@@ -85,7 +85,8 @@ export type GetOperationDetailResponse = {
|
|
|
85
85
|
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
|
|
89
|
+
type BaseGetServicesRequest = {
|
|
89
90
|
namespace?: string
|
|
90
91
|
extensionFilters?: string
|
|
91
92
|
endTime?: string
|
|
@@ -94,9 +95,11 @@ export type GetServicesRequest = {
|
|
|
94
95
|
page?: number
|
|
95
96
|
pageSize?: number
|
|
96
97
|
sort?: string
|
|
97
|
-
clusterName?: string
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
export type GetServicesRequest = BaseGetServicesRequest
|
|
101
|
+
& OneOf<{ cluster: string; clusterName: string }>
|
|
102
|
+
|
|
100
103
|
export type ServiceItem = {
|
|
101
104
|
serviceName?: string
|
|
102
105
|
namespace?: string
|