@daocloud-proto/insight 0.12.2-62 → 0.12.2-68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.12.2-62",
3
+ "version":"0.12.2-68",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -32,6 +32,7 @@ export type GetApdexRequest = {
32
32
 
33
33
  export type MetricsWithOperation = {
34
34
  operationName?: string
35
+ spanKind?: string
35
36
  metricGroups?: MetricsGroup[]
36
37
  }
37
38
 
@@ -30,16 +30,6 @@ export type FindTracesRequest = {
30
30
  query?: TraceQueryParameters
31
31
  }
32
32
 
33
- export type GetOperationsRequest = {
34
- service?: string
35
- spanKind?: string
36
- }
37
-
38
- export type Operation = {
39
- name?: string
40
- spanKind?: string
41
- }
42
-
43
33
  export type GetServicesRequest = {
44
34
  }
45
35
 
@@ -10,6 +10,8 @@ export type QueryBaseRequest = {
10
10
  namespace?: string
11
11
  serviceName?: string
12
12
  spanKind?: InsightIoApiSpan_metricV1alpha1Otelspankind.SpanKind[]
13
+ start?: string
14
+ end?: string
13
15
  }
14
16
 
15
17
  export type BatchQueryBaseRequest = {
@@ -18,8 +20,14 @@ export type BatchQueryBaseRequest = {
18
20
  serviceName?: string[]
19
21
  }
20
22
 
23
+ export type Operation = {
24
+ operation?: string
25
+ spanKind?: string
26
+ callsTotal?: number
27
+ }
28
+
21
29
  export type OperationsQueryResponse = {
22
- operations?: string[]
30
+ operations?: Operation[]
23
31
  }
24
32
 
25
33
  export type TraceRequestById = {