oci-apmtraces 2.13.0 → 2.14.0
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/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client.d.ts +31 -26
- package/lib/client.js +132 -88
- package/lib/client.js.map +1 -1
- package/lib/model/aggregated-snapshot.d.ts +34 -0
- package/lib/model/aggregated-snapshot.js +72 -0
- package/lib/model/aggregated-snapshot.js.map +1 -0
- package/lib/model/aggregated-stack-trace.d.ts +30 -0
- package/lib/model/aggregated-stack-trace.js +68 -0
- package/lib/model/aggregated-stack-trace.js.map +1 -0
- package/lib/model/index.d.ts +16 -2
- package/lib/model/index.js +17 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/query-details.d.ts +4 -4
- package/lib/model/query-details.js +2 -2
- package/lib/model/query-result-metadata-summary.d.ts +4 -4
- package/lib/model/query-result-metadata-summary.js +2 -2
- package/lib/model/query-result-response.d.ts +2 -2
- package/lib/model/query-result-response.js +2 -2
- package/lib/model/query-result-row-type-summary.d.ts +3 -3
- package/lib/model/query-result-row-type-summary.js +2 -2
- package/lib/model/query-result-row.d.ts +8 -9
- package/lib/model/query-result-row.js +2 -2
- package/lib/model/query-result-row.js.map +1 -1
- package/lib/model/query-results-grouped-by-summary.d.ts +4 -4
- package/lib/model/query-results-grouped-by-summary.js +2 -2
- package/lib/model/query-results-ordered-by-summary.d.ts +4 -4
- package/lib/model/query-results-ordered-by-summary.js +2 -2
- package/lib/model/quick-pick-summary.d.ts +5 -5
- package/lib/model/quick-pick-summary.js +2 -2
- package/lib/model/snapshot-detail.d.ts +33 -0
- package/lib/model/snapshot-detail.js +30 -0
- package/lib/model/snapshot-detail.js.map +1 -0
- package/lib/model/span-log-collection.d.ts +2 -2
- package/lib/model/span-log-collection.js +2 -2
- package/lib/model/span-log.d.ts +3 -3
- package/lib/model/span-log.js +2 -2
- package/lib/model/span-snapshot.d.ts +59 -0
- package/lib/model/span-snapshot.js +82 -0
- package/lib/model/span-snapshot.js.map +1 -0
- package/lib/model/span.d.ts +6 -6
- package/lib/model/span.js +2 -2
- package/lib/model/stack-trace-element.d.ts +48 -0
- package/lib/model/stack-trace-element.js +30 -0
- package/lib/model/stack-trace-element.js.map +1 -0
- package/lib/model/tag.d.ts +3 -3
- package/lib/model/tag.js +2 -2
- package/lib/model/thread-snapshot.d.ts +39 -0
- package/lib/model/thread-snapshot.js +72 -0
- package/lib/model/thread-snapshot.js.map +1 -0
- package/lib/model/trace-service-summary.d.ts +5 -5
- package/lib/model/trace-service-summary.js +2 -2
- package/lib/model/trace-snapshot.d.ts +51 -0
- package/lib/model/trace-snapshot.js +72 -0
- package/lib/model/trace-snapshot.js.map +1 -0
- package/lib/model/trace-span-summary.d.ts +18 -20
- package/lib/model/trace-span-summary.js +2 -2
- package/lib/model/trace-span-summary.js.map +1 -1
- package/lib/model/trace.d.ts +17 -18
- package/lib/model/trace.js +2 -2
- package/lib/model/trace.js.map +1 -1
- package/lib/request/get-aggregated-snapshot-request.d.ts +34 -0
- package/lib/request/get-aggregated-snapshot-request.js +15 -0
- package/lib/request/get-aggregated-snapshot-request.js.map +1 -0
- package/lib/request/get-span-request.d.ts +4 -4
- package/lib/request/get-trace-request.d.ts +3 -3
- package/lib/request/{query-old-request.d.ts → get-trace-snapshot-request.d.ts} +14 -21
- package/lib/{response/query-old-response.js → request/get-trace-snapshot-request.js} +1 -1
- package/lib/request/get-trace-snapshot-request.js.map +1 -0
- package/lib/request/index.d.ts +6 -4
- package/lib/request/index.js +2 -2
- package/lib/request/list-quick-picks-request.d.ts +2 -2
- package/lib/request/query-request.d.ts +5 -4
- package/lib/response/{query-old-response.d.ts → get-aggregated-snapshot-response.d.ts} +3 -15
- package/lib/response/get-aggregated-snapshot-response.js +15 -0
- package/lib/response/get-aggregated-snapshot-response.js.map +1 -0
- package/lib/response/get-trace-snapshot-response.d.ts +25 -0
- package/lib/{request/query-old-request.js → response/get-trace-snapshot-response.js} +1 -1
- package/lib/response/get-trace-snapshot-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -4
- package/lib/response/index.js +2 -2
- package/package.json +3 -3
- package/lib/request/query-old-request.js.map +0 -1
- package/lib/response/query-old-response.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Application Performance Monitoring Trace Explorer API
|
|
3
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
4
4
|
|
|
5
5
|
* OpenAPI spec version: 20200630
|
|
6
6
|
*
|
|
@@ -13,60 +13,58 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import * as model from "../model";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* in the trace window that is being queried.
|
|
16
|
+
* Summary of the information pertaining to the spans in the trace window that is being queried.
|
|
18
17
|
*
|
|
19
18
|
*/
|
|
20
19
|
export interface TraceSpanSummary {
|
|
21
20
|
/**
|
|
22
21
|
* Unique identifier (traceId) for the trace that represents the span set. Note that this field is
|
|
23
|
-
* defined as traceKey in the API to
|
|
24
|
-
*
|
|
22
|
+
* defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance
|
|
23
|
+
* Monitoring.
|
|
25
24
|
*
|
|
26
25
|
*/
|
|
27
26
|
"key": string;
|
|
28
27
|
/**
|
|
29
|
-
* Root span name associated with the trace. This is
|
|
30
|
-
* Null if the root span is not yet completed.
|
|
28
|
+
* Root span name associated with the trace. This is the flow start operation name.
|
|
29
|
+
* Null is displayed if the root span is not yet completed.
|
|
31
30
|
*
|
|
32
31
|
*/
|
|
33
32
|
"rootSpanOperationName"?: string;
|
|
34
33
|
/**
|
|
35
|
-
* Start time of the earliest span in
|
|
34
|
+
* Start time of the earliest span in the span collection.
|
|
36
35
|
*
|
|
37
36
|
*/
|
|
38
37
|
"timeEarliestSpanStarted": Date;
|
|
39
38
|
/**
|
|
40
|
-
* End time of the span that most recently ended in
|
|
39
|
+
* End time of the span that most recently ended in the span collection.
|
|
41
40
|
*
|
|
42
41
|
*/
|
|
43
42
|
"timeLatestSpanEnded": Date;
|
|
44
43
|
/**
|
|
45
|
-
* The number of spans that have been processed by the system for
|
|
44
|
+
* The number of spans that have been processed by the system for the trace. Note that there
|
|
46
45
|
* could be additional spans that have not been processed or reported yet if the trace is still
|
|
47
46
|
* in progress.
|
|
48
47
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
48
|
*/
|
|
50
49
|
"spanCount": number;
|
|
51
50
|
/**
|
|
52
|
-
* The number of spans with
|
|
53
|
-
* Note that the number of spans with errors
|
|
54
|
-
* in this trace.
|
|
51
|
+
* The number of spans with errors that have been processed by the system for the trace.
|
|
52
|
+
* Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
|
|
55
53
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
54
|
*/
|
|
57
55
|
"errorSpanCount": number;
|
|
58
56
|
/**
|
|
59
|
-
* Service associated with
|
|
57
|
+
* Service associated with the trace.
|
|
60
58
|
*
|
|
61
59
|
*/
|
|
62
60
|
"rootSpanServiceName"?: string;
|
|
63
61
|
/**
|
|
64
|
-
* Start time of the root span for
|
|
62
|
+
* Start time of the root span for the span collection.
|
|
65
63
|
*
|
|
66
64
|
*/
|
|
67
65
|
"timeRootSpanStarted"?: Date;
|
|
68
66
|
/**
|
|
69
|
-
* End time of the root span for
|
|
67
|
+
* End time of the root span for the span collection.
|
|
70
68
|
*
|
|
71
69
|
*/
|
|
72
70
|
"timeRootSpanEnded"?: Date;
|
|
@@ -81,14 +79,14 @@ export interface TraceSpanSummary {
|
|
|
81
79
|
*/
|
|
82
80
|
"traceDurationInMs": number;
|
|
83
81
|
/**
|
|
84
|
-
* Boolean flag that indicates whether the trace
|
|
82
|
+
* Boolean flag that indicates whether the trace has an error.
|
|
85
83
|
*
|
|
86
84
|
*/
|
|
87
85
|
"isFault": boolean;
|
|
88
86
|
/**
|
|
89
87
|
* The status of the trace.
|
|
90
88
|
* The trace statuses are defined as follows:
|
|
91
|
-
* complete
|
|
89
|
+
* complete - a root span has been recorded, but there is no information on the errors.
|
|
92
90
|
* success - a complete root span is recorded there is a successful error type and error code - HTTP 200.
|
|
93
91
|
* incomplete - the root span has not yet been received.
|
|
94
92
|
* error - the root span returned with an error. There may or may not be an associated error code or error type.
|
|
@@ -106,7 +104,7 @@ export interface TraceSpanSummary {
|
|
|
106
104
|
*/
|
|
107
105
|
"traceErrorCode": string;
|
|
108
106
|
/**
|
|
109
|
-
* A summary of the spans by service
|
|
107
|
+
* A summary of the spans by service.
|
|
110
108
|
*
|
|
111
109
|
*/
|
|
112
110
|
"serviceSummaries"?: Array<model.TraceServiceSummary>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Application Performance Monitoring Trace Explorer API
|
|
4
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
5
5
|
|
|
6
6
|
* OpenAPI spec version: 20200630
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-span-summary.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/trace-span-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"trace-span-summary.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/trace-span-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqGlC,IAAiB,gBAAgB,CA6BhC;AA7BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6BhC"}
|
package/lib/model/trace.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Application Performance Monitoring Trace Explorer API
|
|
3
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
4
4
|
|
|
5
5
|
* OpenAPI spec version: 20200630
|
|
6
6
|
*
|
|
@@ -19,53 +19,52 @@ import * as model from "../model";
|
|
|
19
19
|
export interface Trace {
|
|
20
20
|
/**
|
|
21
21
|
* Unique identifier (traceId) for the trace that represents the span set. Note that this field is
|
|
22
|
-
* defined as traceKey in the API to
|
|
23
|
-
*
|
|
22
|
+
* defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance
|
|
23
|
+
* Monitoring.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"key": string;
|
|
27
27
|
/**
|
|
28
|
-
* Root span name associated with the trace. This is
|
|
29
|
-
* Null if the root span is not yet completed.
|
|
28
|
+
* Root span name associated with the trace. This is the flow start operation name.
|
|
29
|
+
* Null is displayed if the root span is not yet completed.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"rootSpanOperationName"?: string;
|
|
33
33
|
/**
|
|
34
|
-
* Start time of the earliest span in
|
|
34
|
+
* Start time of the earliest span in the span collection.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
"timeEarliestSpanStarted"?: Date;
|
|
38
38
|
/**
|
|
39
|
-
* End time of the span that most recently ended in
|
|
39
|
+
* End time of the span that most recently ended in the span collection.
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
42
|
"timeLatestSpanEnded"?: Date;
|
|
43
43
|
/**
|
|
44
|
-
* The number of spans that have been processed by the system for
|
|
44
|
+
* The number of spans that have been processed by the system for the trace. Note that there
|
|
45
45
|
* could be additional spans that have not been processed or reported yet if the trace is still
|
|
46
46
|
* in progress.
|
|
47
47
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
48
|
*/
|
|
49
49
|
"spanCount"?: number;
|
|
50
50
|
/**
|
|
51
|
-
* The number of spans with
|
|
52
|
-
* Note that the number of spans with errors
|
|
53
|
-
* in this trace.
|
|
51
|
+
* The number of spans with errors that have been processed by the system for the trace.
|
|
52
|
+
* Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
|
|
54
53
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
55
54
|
*/
|
|
56
55
|
"errorSpanCount"?: number;
|
|
57
56
|
/**
|
|
58
|
-
* Service associated with
|
|
57
|
+
* Service associated with the trace.
|
|
59
58
|
*
|
|
60
59
|
*/
|
|
61
60
|
"rootSpanServiceName"?: string;
|
|
62
61
|
/**
|
|
63
|
-
* Start time of the root span for
|
|
62
|
+
* Start time of the root span for the span collection.
|
|
64
63
|
*
|
|
65
64
|
*/
|
|
66
65
|
"timeRootSpanStarted"?: Date;
|
|
67
66
|
/**
|
|
68
|
-
* End time of the root span for
|
|
67
|
+
* End time of the root span for the span collection.
|
|
69
68
|
*
|
|
70
69
|
*/
|
|
71
70
|
"timeRootSpanEnded"?: Date;
|
|
@@ -80,14 +79,14 @@ export interface Trace {
|
|
|
80
79
|
*/
|
|
81
80
|
"traceDurationInMs"?: number;
|
|
82
81
|
/**
|
|
83
|
-
* Boolean flag that indicates whether the trace
|
|
82
|
+
* Boolean flag that indicates whether the trace has an error.
|
|
84
83
|
*
|
|
85
84
|
*/
|
|
86
85
|
"isFault"?: boolean;
|
|
87
86
|
/**
|
|
88
87
|
* The status of the trace.
|
|
89
88
|
* The trace statuses are defined as follows:
|
|
90
|
-
* complete
|
|
89
|
+
* complete - a root span has been recorded, but there is no information on the errors.
|
|
91
90
|
* success - a complete root span is recorded there is a successful error type and error code - HTTP 200.
|
|
92
91
|
* incomplete - the root span has not yet been received.
|
|
93
92
|
* error - the root span returned with an error. There may or may not be an associated error code or error type.
|
|
@@ -105,7 +104,7 @@ export interface Trace {
|
|
|
105
104
|
*/
|
|
106
105
|
"traceErrorCode"?: string;
|
|
107
106
|
/**
|
|
108
|
-
* A summary of the spans by service
|
|
107
|
+
* A summary of the spans by service.
|
|
109
108
|
*
|
|
110
109
|
*/
|
|
111
110
|
"serviceSummaries"?: Array<model.TraceServiceSummary>;
|
package/lib/model/trace.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Application Performance Monitoring Trace Explorer API
|
|
4
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
5
5
|
|
|
6
6
|
* OpenAPI spec version: 20200630
|
|
7
7
|
*
|
package/lib/model/trace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2GlC,IAAiB,KAAK,CA6CrB;AA7CD,WAAiB,KAAK;IACpB,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACpD,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,gBAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAChE,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,4BAAsB,yBAqBrC,CAAA;AACH,CAAC,EA7CgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA6CrB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshotRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAggregatedSnapshotRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The APM Domain ID the request is intended for.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"apmDomainId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Unique Application Performance Monitoring trace identifier (traceId).
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"traceKey": string;
|
|
28
|
+
/**
|
|
29
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
30
|
+
* particular request, please provide the request ID.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"opcRequestId"?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=get-aggregated-snapshot-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-aggregated-snapshot-request.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/request/get-aggregated-snapshot-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/GetSpan.ts.html |here} to see how to use GetSpanRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSpanRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The APM Domain
|
|
19
|
+
* The APM Domain ID the request is intended for.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
"apmDomainId": string;
|
|
23
23
|
/**
|
|
24
|
-
* Unique
|
|
24
|
+
* Unique Application Performance Monitoring span identifier (spanId).
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
"spanKey": string;
|
|
28
28
|
/**
|
|
29
|
-
* Unique
|
|
29
|
+
* Unique Application Performance Monitoring trace identifier (traceId).
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"traceKey": string;
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/GetTrace.ts.html |here} to see how to use GetTraceRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetTraceRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The APM Domain
|
|
19
|
+
* The APM Domain ID the request is intended for.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
"apmDomainId": string;
|
|
23
23
|
/**
|
|
24
|
-
* Unique
|
|
24
|
+
* Unique Application Performance Monitoring trace identifier (traceId).
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
"traceKey": string;
|
|
@@ -10,32 +10,21 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
-
import * as model from "../model";
|
|
14
13
|
import common = require("oci-common");
|
|
15
14
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/GetTraceSnapshot.ts.html |here} to see how to use GetTraceSnapshotRequest.
|
|
17
16
|
*/
|
|
18
|
-
export interface
|
|
17
|
+
export interface GetTraceSnapshotRequest extends common.BaseRequest {
|
|
19
18
|
/**
|
|
20
|
-
* The APM Domain
|
|
19
|
+
* The APM Domain ID the request is intended for.
|
|
21
20
|
*
|
|
22
21
|
*/
|
|
23
22
|
"apmDomainId": string;
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* Unique Application Performance Monitoring trace identifier (traceId).
|
|
26
25
|
*
|
|
27
26
|
*/
|
|
28
|
-
"
|
|
29
|
-
/**
|
|
30
|
-
* Include spans that have a `spanStartTime`less than this value.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
"timeSpanStartedLessThan": Date;
|
|
34
|
-
/**
|
|
35
|
-
* Request body containing the query to be run against our repository.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
"queryDetails": model.QueryDetails;
|
|
27
|
+
"traceKey": string;
|
|
39
28
|
/**
|
|
40
29
|
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
41
30
|
* particular request, please provide the request ID.
|
|
@@ -43,14 +32,18 @@ export interface QueryOldRequest extends common.BaseRequest {
|
|
|
43
32
|
*/
|
|
44
33
|
"opcRequestId"?: string;
|
|
45
34
|
/**
|
|
46
|
-
*
|
|
35
|
+
* If enabled, then only span level details will be sent.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"isSummarized"?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Thread id for which snapshots needs to be retrieved. This is an identifier of a thread, and is a positive long number generated when when a thread is created.
|
|
47
41
|
*
|
|
48
42
|
*/
|
|
49
|
-
"
|
|
43
|
+
"threadId"?: string;
|
|
50
44
|
/**
|
|
51
|
-
*
|
|
52
|
-
* This is usually retrieved from a previous response.
|
|
45
|
+
* Epoch time of snapshot.
|
|
53
46
|
*
|
|
54
47
|
*/
|
|
55
|
-
"
|
|
48
|
+
"snapshotTime"?: string;
|
|
56
49
|
}
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=get-trace-snapshot-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trace-snapshot-request.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/request/get-trace-snapshot-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Application Performance Monitoring Trace Explorer API
|
|
3
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
4
4
|
|
|
5
5
|
* OpenAPI spec version: 20200630
|
|
6
6
|
*
|
|
@@ -15,9 +15,11 @@ import * as ListQuickPicksRequest from "./list-quick-picks-request";
|
|
|
15
15
|
export import ListQuickPicksRequest = ListQuickPicksRequest.ListQuickPicksRequest;
|
|
16
16
|
import * as QueryRequest from "./query-request";
|
|
17
17
|
export import QueryRequest = QueryRequest.QueryRequest;
|
|
18
|
-
import * as
|
|
19
|
-
export import
|
|
18
|
+
import * as GetAggregatedSnapshotRequest from "./get-aggregated-snapshot-request";
|
|
19
|
+
export import GetAggregatedSnapshotRequest = GetAggregatedSnapshotRequest.GetAggregatedSnapshotRequest;
|
|
20
20
|
import * as GetSpanRequest from "./get-span-request";
|
|
21
21
|
export import GetSpanRequest = GetSpanRequest.GetSpanRequest;
|
|
22
22
|
import * as GetTraceRequest from "./get-trace-request";
|
|
23
23
|
export import GetTraceRequest = GetTraceRequest.GetTraceRequest;
|
|
24
|
+
import * as GetTraceSnapshotRequest from "./get-trace-snapshot-request";
|
|
25
|
+
export import GetTraceSnapshotRequest = GetTraceSnapshotRequest.GetTraceSnapshotRequest;
|
package/lib/request/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Application Performance Monitoring Trace Explorer API
|
|
4
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
5
5
|
|
|
6
6
|
* OpenAPI spec version: 20200630
|
|
7
7
|
*
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicksRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListQuickPicksRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The APM Domain
|
|
19
|
+
* The APM Domain ID the request is intended for.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
"apmDomainId": string;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/apmtraces/Query.ts.html |here} to see how to use QueryRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface QueryRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The APM Domain
|
|
20
|
+
* The APM Domain ID the request is intended for.
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
"apmDomainId": string;
|
|
24
24
|
/**
|
|
25
|
-
* Include spans that have a `spanStartTime` equal to or greater this value.
|
|
25
|
+
* Include spans that have a `spanStartTime` equal to or greater than this value.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
"timeSpanStartedGreaterThanOrEqualTo": Date;
|
|
@@ -32,7 +32,8 @@ export interface QueryRequest extends common.BaseRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
"timeSpanStartedLessThan": Date;
|
|
34
34
|
/**
|
|
35
|
-
* Request body containing the query to be run against
|
|
35
|
+
* Request body containing the query to be run against the trace data and to filter and
|
|
36
|
+
* retrieve trace data results.
|
|
36
37
|
*
|
|
37
38
|
*/
|
|
38
39
|
"queryDetails": model.QueryDetails;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
|
-
export interface
|
|
14
|
+
export interface GetAggregatedSnapshotResponse {
|
|
15
15
|
/**
|
|
16
16
|
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
17
|
* Oracle about a particular request, please provide the request ID.
|
|
@@ -19,19 +19,7 @@ export interface QueryOldResponse {
|
|
|
19
19
|
*/
|
|
20
20
|
"opcRequestId": string;
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
"opcTotalItems": number;
|
|
26
|
-
/**
|
|
27
|
-
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
28
|
-
* then a partial list might have been returned. Include this value as the page parameter for the
|
|
29
|
-
* subsequent GET request to get the next batch of items.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
"opcNextPage": string;
|
|
33
|
-
/**
|
|
34
|
-
* The returned model.QueryResultResponse instance.
|
|
22
|
+
* The returned model.AggregatedSnapshot instance.
|
|
35
23
|
*/
|
|
36
|
-
"
|
|
24
|
+
"aggregatedSnapshot": model.AggregatedSnapshot;
|
|
37
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=get-aggregated-snapshot-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-aggregated-snapshot-response.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/response/get-aggregated-snapshot-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface GetTraceSnapshotResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* The returned model.TraceSnapshot instance.
|
|
23
|
+
*/
|
|
24
|
+
"traceSnapshot": model.TraceSnapshot;
|
|
25
|
+
}
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=get-trace-snapshot-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trace-snapshot-response.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/response/get-trace-snapshot-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/response/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Application Performance Monitoring Trace Explorer API
|
|
3
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
4
4
|
|
|
5
5
|
* OpenAPI spec version: 20200630
|
|
6
6
|
*
|
|
@@ -15,9 +15,11 @@ import * as ListQuickPicksResponse from "./list-quick-picks-response";
|
|
|
15
15
|
export import ListQuickPicksResponse = ListQuickPicksResponse.ListQuickPicksResponse;
|
|
16
16
|
import * as QueryResponse from "./query-response";
|
|
17
17
|
export import QueryResponse = QueryResponse.QueryResponse;
|
|
18
|
-
import * as
|
|
19
|
-
export import
|
|
18
|
+
import * as GetAggregatedSnapshotResponse from "./get-aggregated-snapshot-response";
|
|
19
|
+
export import GetAggregatedSnapshotResponse = GetAggregatedSnapshotResponse.GetAggregatedSnapshotResponse;
|
|
20
20
|
import * as GetSpanResponse from "./get-span-response";
|
|
21
21
|
export import GetSpanResponse = GetSpanResponse.GetSpanResponse;
|
|
22
22
|
import * as GetTraceResponse from "./get-trace-response";
|
|
23
23
|
export import GetTraceResponse = GetTraceResponse.GetTraceResponse;
|
|
24
|
+
import * as GetTraceSnapshotResponse from "./get-trace-snapshot-response";
|
|
25
|
+
export import GetTraceSnapshotResponse = GetTraceSnapshotResponse.GetTraceSnapshotResponse;
|
package/lib/response/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Application Performance Monitoring Trace Explorer API
|
|
4
|
+
* Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
|
|
5
5
|
|
|
6
6
|
* OpenAPI spec version: 20200630
|
|
7
7
|
*
|