oci-apmtraces 2.12.1 → 2.15.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.
Files changed (85) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +2 -2
  3. package/lib/client.d.ts +33 -26
  4. package/lib/client.js +138 -92
  5. package/lib/client.js.map +1 -1
  6. package/lib/model/aggregated-snapshot.d.ts +34 -0
  7. package/lib/model/aggregated-snapshot.js +72 -0
  8. package/lib/model/aggregated-snapshot.js.map +1 -0
  9. package/lib/model/aggregated-stack-trace.d.ts +30 -0
  10. package/lib/model/aggregated-stack-trace.js +68 -0
  11. package/lib/model/aggregated-stack-trace.js.map +1 -0
  12. package/lib/model/index.d.ts +16 -2
  13. package/lib/model/index.js +17 -3
  14. package/lib/model/index.js.map +1 -1
  15. package/lib/model/query-details.d.ts +4 -4
  16. package/lib/model/query-details.js +2 -2
  17. package/lib/model/query-result-metadata-summary.d.ts +4 -4
  18. package/lib/model/query-result-metadata-summary.js +2 -2
  19. package/lib/model/query-result-response.d.ts +2 -2
  20. package/lib/model/query-result-response.js +2 -2
  21. package/lib/model/query-result-row-type-summary.d.ts +3 -3
  22. package/lib/model/query-result-row-type-summary.js +2 -2
  23. package/lib/model/query-result-row.d.ts +8 -9
  24. package/lib/model/query-result-row.js +2 -2
  25. package/lib/model/query-result-row.js.map +1 -1
  26. package/lib/model/query-results-grouped-by-summary.d.ts +4 -4
  27. package/lib/model/query-results-grouped-by-summary.js +2 -2
  28. package/lib/model/query-results-ordered-by-summary.d.ts +4 -4
  29. package/lib/model/query-results-ordered-by-summary.js +2 -2
  30. package/lib/model/quick-pick-summary.d.ts +5 -5
  31. package/lib/model/quick-pick-summary.js +2 -2
  32. package/lib/model/snapshot-detail.d.ts +33 -0
  33. package/lib/model/snapshot-detail.js +30 -0
  34. package/lib/model/snapshot-detail.js.map +1 -0
  35. package/lib/model/span-log-collection.d.ts +2 -2
  36. package/lib/model/span-log-collection.js +2 -2
  37. package/lib/model/span-log.d.ts +3 -3
  38. package/lib/model/span-log.js +2 -2
  39. package/lib/model/span-snapshot.d.ts +59 -0
  40. package/lib/model/span-snapshot.js +82 -0
  41. package/lib/model/span-snapshot.js.map +1 -0
  42. package/lib/model/span.d.ts +6 -6
  43. package/lib/model/span.js +2 -2
  44. package/lib/model/stack-trace-element.d.ts +48 -0
  45. package/lib/model/stack-trace-element.js +30 -0
  46. package/lib/model/stack-trace-element.js.map +1 -0
  47. package/lib/model/tag.d.ts +3 -3
  48. package/lib/model/tag.js +2 -2
  49. package/lib/model/thread-snapshot.d.ts +39 -0
  50. package/lib/model/thread-snapshot.js +72 -0
  51. package/lib/model/thread-snapshot.js.map +1 -0
  52. package/lib/model/trace-service-summary.d.ts +5 -5
  53. package/lib/model/trace-service-summary.js +2 -2
  54. package/lib/model/trace-snapshot.d.ts +51 -0
  55. package/lib/model/trace-snapshot.js +72 -0
  56. package/lib/model/trace-snapshot.js.map +1 -0
  57. package/lib/model/trace-span-summary.d.ts +18 -20
  58. package/lib/model/trace-span-summary.js +2 -2
  59. package/lib/model/trace-span-summary.js.map +1 -1
  60. package/lib/model/trace.d.ts +17 -18
  61. package/lib/model/trace.js +2 -2
  62. package/lib/model/trace.js.map +1 -1
  63. package/lib/request/get-aggregated-snapshot-request.d.ts +34 -0
  64. package/lib/request/get-aggregated-snapshot-request.js +15 -0
  65. package/lib/request/get-aggregated-snapshot-request.js.map +1 -0
  66. package/lib/request/get-span-request.d.ts +4 -4
  67. package/lib/request/get-trace-request.d.ts +3 -3
  68. package/lib/request/{query-old-request.d.ts → get-trace-snapshot-request.d.ts} +14 -21
  69. package/lib/{response/query-old-response.js → request/get-trace-snapshot-request.js} +1 -1
  70. package/lib/request/get-trace-snapshot-request.js.map +1 -0
  71. package/lib/request/index.d.ts +6 -4
  72. package/lib/request/index.js +2 -2
  73. package/lib/request/list-quick-picks-request.d.ts +2 -2
  74. package/lib/request/query-request.d.ts +5 -4
  75. package/lib/response/{query-old-response.d.ts → get-aggregated-snapshot-response.d.ts} +3 -15
  76. package/lib/response/get-aggregated-snapshot-response.js +15 -0
  77. package/lib/response/get-aggregated-snapshot-response.js.map +1 -0
  78. package/lib/response/get-trace-snapshot-response.d.ts +25 -0
  79. package/lib/{request/query-old-request.js → response/get-trace-snapshot-response.js} +1 -1
  80. package/lib/response/get-trace-snapshot-response.js.map +1 -0
  81. package/lib/response/index.d.ts +6 -4
  82. package/lib/response/index.js +2 -2
  83. package/package.json +3 -3
  84. package/lib/request/query-old-request.js.map +0 -1
  85. package/lib/response/query-old-response.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Apm Traces API
3
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -12,7 +12,7 @@
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
  /**
15
- * Definition of a log which is a key value pair of log data.
15
+ * Definition of a log which is a key-value pair of log data.
16
16
  *
17
17
  */
18
18
  export interface SpanLog {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
- * Apm Traces API
4
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -0,0 +1,59 @@
1
+ /**
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
+
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
+ import * as model from "../model";
15
+ /**
16
+ * Definition of a span snapshot object.
17
+ *
18
+ */
19
+ export interface SpanSnapshot {
20
+ /**
21
+ * Unique identifier (spanId) for the trace span.
22
+ *
23
+ */
24
+ "key": string;
25
+ /**
26
+ * Span name associated with the trace.
27
+ *
28
+ */
29
+ "spanName"?: string;
30
+ /**
31
+ * Start time of the span.
32
+ *
33
+ */
34
+ "timeStarted": Date;
35
+ /**
36
+ * End time of the span.
37
+ *
38
+ */
39
+ "timeEnded": Date;
40
+ /**
41
+ * Span snapshots properties.
42
+ *
43
+ */
44
+ "spanSnapshotDetails"?: Array<model.SnapshotDetail>;
45
+ /**
46
+ * Thread snapshots.
47
+ *
48
+ */
49
+ "threadSnapshots"?: Array<model.ThreadSnapshot>;
50
+ /**
51
+ * An array of child span snapshots.
52
+ *
53
+ */
54
+ "children"?: Array<model.SpanSnapshot>;
55
+ }
56
+ export declare namespace SpanSnapshot {
57
+ function getJsonObj(obj: SpanSnapshot): object;
58
+ function getDeserializedJsonObj(obj: SpanSnapshot): object;
59
+ }
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ /**
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
+
6
+ * OpenAPI spec version: 20200630
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SpanSnapshot = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SpanSnapshot;
38
+ (function (SpanSnapshot) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "spanSnapshotDetails": obj.spanSnapshotDetails
42
+ ? obj.spanSnapshotDetails.map(item => {
43
+ return model.SnapshotDetail.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "threadSnapshots": obj.threadSnapshots
47
+ ? obj.threadSnapshots.map(item => {
48
+ return model.ThreadSnapshot.getJsonObj(item);
49
+ })
50
+ : undefined,
51
+ "children": obj.children
52
+ ? obj.children.map(item => {
53
+ return model.SpanSnapshot.getJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ SpanSnapshot.getJsonObj = getJsonObj;
60
+ function getDeserializedJsonObj(obj) {
61
+ const jsonObj = Object.assign(Object.assign({}, obj), {
62
+ "spanSnapshotDetails": obj.spanSnapshotDetails
63
+ ? obj.spanSnapshotDetails.map(item => {
64
+ return model.SnapshotDetail.getDeserializedJsonObj(item);
65
+ })
66
+ : undefined,
67
+ "threadSnapshots": obj.threadSnapshots
68
+ ? obj.threadSnapshots.map(item => {
69
+ return model.ThreadSnapshot.getDeserializedJsonObj(item);
70
+ })
71
+ : undefined,
72
+ "children": obj.children
73
+ ? obj.children.map(item => {
74
+ return model.SpanSnapshot.getDeserializedJsonObj(item);
75
+ })
76
+ : undefined
77
+ });
78
+ return jsonObj;
79
+ }
80
+ SpanSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
81
+ })(SpanSnapshot = exports.SpanSnapshot || (exports.SpanSnapshot = {}));
82
+ //# sourceMappingURL=span-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"span-snapshot.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/span-snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,IAAiB,YAAY,CAiD5B;AAjDD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAA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,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,mCAAsB,yBAuBrC,CAAA;AACH,CAAC,EAjDgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAiD5B"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Apm Traces API
3
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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,8 +19,8 @@ import * as model from "../model";
19
19
  export interface Span {
20
20
  /**
21
21
  * Unique identifier (spanId) for the span. Note that this field is
22
- * defined as spanKey in the API to comply with OCI API fields naming conventions.
23
- * The spanKey maps to the spanId in the APM repository.
22
+ * defined as spanKey in the API and it maps to the spanId in the trace data
23
+ * in Application Performance Monitoring.
24
24
  *
25
25
  */
26
26
  "key": string;
@@ -50,7 +50,7 @@ export interface Span {
50
50
  */
51
51
  "durationInMs": number;
52
52
  /**
53
- * Span name associated with the trace. This is usually the method or uri of the request.
53
+ * Span name associated with the trace. This is usually the method or URI of the request.
54
54
  *
55
55
  */
56
56
  "operationName": string;
@@ -75,7 +75,7 @@ export interface Span {
75
75
  */
76
76
  "logs"?: Array<model.SpanLogCollection>;
77
77
  /**
78
- * Indicates if the span has an error
78
+ * Indicates if the span has an error.
79
79
  *
80
80
  */
81
81
  "isError": boolean;
package/lib/model/span.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
- * Apm Traces API
4
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -0,0 +1,48 @@
1
+ /**
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
+
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
+ /**
15
+ * Stack trace element.
16
+ *
17
+ */
18
+ export interface StackTraceElement {
19
+ /**
20
+ * Name of the method containing the execution point.
21
+ *
22
+ */
23
+ "methodName"?: string;
24
+ /**
25
+ * Name of the source file containing the execution point.
26
+ *
27
+ */
28
+ "fileName"?: string;
29
+ /**
30
+ * Line number of the source line containing the execution point.
31
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
+ */
33
+ "lineNumber"?: number;
34
+ /**
35
+ * Name of the class containing the execution point.
36
+ *
37
+ */
38
+ "className"?: string;
39
+ /**
40
+ * The weight distribution that denotes the percentage occurrence of a method in the captured snapshots.
41
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
42
+ */
43
+ "weightage"?: number;
44
+ }
45
+ export declare namespace StackTraceElement {
46
+ function getJsonObj(obj: StackTraceElement): object;
47
+ function getDeserializedJsonObj(obj: StackTraceElement): object;
48
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
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
+
6
+ * OpenAPI spec version: 20200630
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StackTraceElement = void 0;
17
+ var StackTraceElement;
18
+ (function (StackTraceElement) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ StackTraceElement.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ StackTraceElement.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(StackTraceElement = exports.StackTraceElement || (exports.StackTraceElement = {}));
30
+ //# sourceMappingURL=stack-trace-element.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack-trace-element.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/stack-trace-element.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAqCH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Apm Traces API
3
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -12,7 +12,7 @@
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
  /**
15
- * Definition of a tag which is a key value pair.
15
+ * Definition of a tag which is a key-value pair.
16
16
  *
17
17
  */
18
18
  export interface Tag {
package/lib/model/tag.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
- * Apm Traces API
4
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -0,0 +1,39 @@
1
+ /**
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
+
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
+ import * as model from "../model";
15
+ /**
16
+ * Thread snapshot.
17
+ *
18
+ */
19
+ export interface ThreadSnapshot {
20
+ /**
21
+ * Snapshot time.
22
+ *
23
+ */
24
+ "timeStamp"?: Date;
25
+ /**
26
+ * Snapshot details.
27
+ *
28
+ */
29
+ "threadSnapshotDetails"?: Array<model.SnapshotDetail>;
30
+ /**
31
+ * Stack trace.
32
+ *
33
+ */
34
+ "stackTrace"?: Array<model.StackTraceElement>;
35
+ }
36
+ export declare namespace ThreadSnapshot {
37
+ function getJsonObj(obj: ThreadSnapshot): object;
38
+ function getDeserializedJsonObj(obj: ThreadSnapshot): object;
39
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /**
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
+
6
+ * OpenAPI spec version: 20200630
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.ThreadSnapshot = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var ThreadSnapshot;
38
+ (function (ThreadSnapshot) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "threadSnapshotDetails": obj.threadSnapshotDetails
42
+ ? obj.threadSnapshotDetails.map(item => {
43
+ return model.SnapshotDetail.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "stackTrace": obj.stackTrace
47
+ ? obj.stackTrace.map(item => {
48
+ return model.StackTraceElement.getJsonObj(item);
49
+ })
50
+ : undefined
51
+ });
52
+ return jsonObj;
53
+ }
54
+ ThreadSnapshot.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "threadSnapshotDetails": obj.threadSnapshotDetails
58
+ ? obj.threadSnapshotDetails.map(item => {
59
+ return model.SnapshotDetail.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined,
62
+ "stackTrace": obj.stackTrace
63
+ ? obj.stackTrace.map(item => {
64
+ return model.StackTraceElement.getDeserializedJsonObj(item);
65
+ })
66
+ : undefined
67
+ });
68
+ return jsonObj;
69
+ }
70
+ ThreadSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
71
+ })(ThreadSnapshot = exports.ThreadSnapshot || (exports.ThreadSnapshot = {}));
72
+ //# sourceMappingURL=thread-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread-snapshot.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/thread-snapshot.ts"],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;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,qCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAuC9B"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Apm Traces API
3
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -12,7 +12,7 @@
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
  /**
15
- * A summary of the spans in a trace by service.
15
+ * Summary of the spans in a trace by service.
16
16
  *
17
17
  */
18
18
  export interface TraceServiceSummary {
@@ -22,12 +22,12 @@ export interface TraceServiceSummary {
22
22
  */
23
23
  "spanServiceName": string;
24
24
  /**
25
- * Number of spans for serviceName in this trace.
25
+ * Number of spans for serviceName in the trace.
26
26
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
27
  */
28
28
  "totalSpans": number;
29
29
  /**
30
- * Number of spans with errorsfor serviceName in this trace.
30
+ * Number of spans with errors for serviceName in the trace.
31
31
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
32
  */
33
33
  "errorSpans": number;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
- * Apm Traces API
4
- * API for APM Trace service. Use this API to query the Traces and associated Spans.
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
  *
@@ -0,0 +1,51 @@
1
+ /**
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
+
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
+ import * as model from "../model";
15
+ /**
16
+ * Definition of a trace snapshot object.
17
+ *
18
+ */
19
+ export interface TraceSnapshot {
20
+ /**
21
+ * Unique identifier (traceId) for the trace that represents the span set. Note that this field is
22
+ * defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance
23
+ * Monitoring.
24
+ *
25
+ */
26
+ "key": string;
27
+ /**
28
+ * Start time of the trace.
29
+ *
30
+ */
31
+ "timeStarted"?: Date;
32
+ /**
33
+ * End time of the trace.
34
+ *
35
+ */
36
+ "timeEnded"?: Date;
37
+ /**
38
+ * Trace snapshots properties.
39
+ *
40
+ */
41
+ "traceSnapshotDetails"?: Array<model.SnapshotDetail>;
42
+ /**
43
+ * List of spans.
44
+ *
45
+ */
46
+ "spanSnapshots": Array<model.SpanSnapshot>;
47
+ }
48
+ export declare namespace TraceSnapshot {
49
+ function getJsonObj(obj: TraceSnapshot): object;
50
+ function getDeserializedJsonObj(obj: TraceSnapshot): object;
51
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /**
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
+
6
+ * OpenAPI spec version: 20200630
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.TraceSnapshot = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var TraceSnapshot;
38
+ (function (TraceSnapshot) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "traceSnapshotDetails": obj.traceSnapshotDetails
42
+ ? obj.traceSnapshotDetails.map(item => {
43
+ return model.SnapshotDetail.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "spanSnapshots": obj.spanSnapshots
47
+ ? obj.spanSnapshots.map(item => {
48
+ return model.SpanSnapshot.getJsonObj(item);
49
+ })
50
+ : undefined
51
+ });
52
+ return jsonObj;
53
+ }
54
+ TraceSnapshot.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "traceSnapshotDetails": obj.traceSnapshotDetails
58
+ ? obj.traceSnapshotDetails.map(item => {
59
+ return model.SnapshotDetail.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined,
62
+ "spanSnapshots": obj.spanSnapshots
63
+ ? obj.spanSnapshots.map(item => {
64
+ return model.SpanSnapshot.getDeserializedJsonObj(item);
65
+ })
66
+ : undefined
67
+ });
68
+ return jsonObj;
69
+ }
70
+ TraceSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
71
+ })(TraceSnapshot = exports.TraceSnapshot || (exports.TraceSnapshot = {}));
72
+ //# sourceMappingURL=trace-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace-snapshot.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/trace-snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqClC,IAAiB,aAAa,CAuC7B;AAvCD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAA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