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
package/index.d.ts CHANGED
@@ -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
  *
package/index.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
  *
package/lib/client.d.ts CHANGED
@@ -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
  *
@@ -22,6 +22,7 @@ export declare enum QueryApiKeys {
22
22
  */
23
23
  export declare class QueryClient {
24
24
  protected static serviceEndpointTemplate: string;
25
+ protected static endpointServiceName: string;
25
26
  protected "_endpoint": string;
26
27
  protected "_defaultHeaders": any;
27
28
  protected "_clientConfiguration": common.ClientConfiguration;
@@ -54,14 +55,14 @@ export declare class QueryClient {
54
55
  */
55
56
  set regionId(regionId: string);
56
57
  /**
57
- * Returns a list of predefined quick pick queries intended to assist the user
58
+ * Returns a list of predefined Quick Pick queries intended to assist the user
58
59
  * to choose a query to run. There is no sorting applied on the results.
59
60
  *
60
61
  * This operation does not retry by default if the user has not defined a retry configuration.
61
62
  * @param ListQuickPicksRequest
62
63
  * @return ListQuickPicksResponse
63
64
  * @throws OciError when an error occurs
64
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
65
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
65
66
  */
66
67
  listQuickPicks(listQuickPicksRequest: requests.ListQuickPicksRequest): Promise<responses.ListQuickPicksResponse>;
67
68
  /**
@@ -97,8 +98,8 @@ export declare class QueryClient {
97
98
  */
98
99
  listQuickPicksResponseIterator(request: requests.ListQuickPicksRequest): AsyncIterableIterator<responses.ListQuickPicksResponse>;
99
100
  /**
100
- * Given a query, constructed according to the APM Defined Query Syntax, retrieves the results - selected attributes,
101
- * and aggregations of the queried entity. Query Results are filtered by the filter criteria specified in the where clause.
101
+ * Retrieves the results (selected attributes and aggregations) of a query constructed according to the Application Performance Monitoring Defined Query Syntax.
102
+ * Query results are filtered by the filter criteria specified in the where clause.
102
103
  * Further query results are grouped by the attributes specified in the group by clause. Finally,
103
104
  * ordering (asc/desc) is done by the specified attributes in the order by clause.
104
105
  *
@@ -106,24 +107,9 @@ export declare class QueryClient {
106
107
  * @param QueryRequest
107
108
  * @return QueryResponse
108
109
  * @throws OciError when an error occurs
109
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/Query.ts.html |here} to see how to use Query API.
110
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/Query.ts.html |here} to see how to use Query API.
110
111
  */
111
112
  query(queryRequest: requests.QueryRequest): Promise<responses.QueryResponse>;
112
- /**
113
- * THIS API ENDPOINT WILL BE DEPRECATED AND INSTEAD /queries/actions/runQuery as defined below WILL BE USED GOING FORWARD. THIS EXISTS JUST
114
- * AS A TEMPORARY PLACEHOLDER SO AS TO BE BACKWARDS COMPATIBLE WITH THE UI BETWEEN RELEASE CYCLES.
115
- * Given a query, constructed according to the APM Defined Query Syntax, retrieves the results - selected attributes,
116
- * and aggregations of the queried entity. Query Results are filtered by the filter criteria specified in the where clause.
117
- * Further query results are grouped by the attributes specified in the group by clause. Finally,
118
- * ordering (asc/desc) is done by the specified attributes in the order by clause.
119
- *
120
- * This operation does not retry by default if the user has not defined a retry configuration.
121
- * @param QueryOldRequest
122
- * @return QueryOldResponse
123
- * @throws OciError when an error occurs
124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/QueryOld.ts.html |here} to see how to use QueryOld API.
125
- */
126
- queryOld(queryOldRequest: requests.QueryOldRequest): Promise<responses.QueryOldResponse>;
127
113
  }
128
114
  export declare enum TraceApiKeys {
129
115
  }
@@ -132,6 +118,7 @@ export declare enum TraceApiKeys {
132
118
  */
133
119
  export declare class TraceClient {
134
120
  protected static serviceEndpointTemplate: string;
121
+ protected static endpointServiceName: string;
135
122
  protected "_endpoint": string;
136
123
  protected "_defaultHeaders": any;
137
124
  protected "_clientConfiguration": common.ClientConfiguration;
@@ -164,23 +151,43 @@ export declare class TraceClient {
164
151
  */
165
152
  set regionId(regionId: string);
166
153
  /**
167
- * Get the span details identified by spanId
154
+ * Gets the aggregated snapshot identified by trace ID.
155
+ *
156
+ * This operation does not retry by default if the user has not defined a retry configuration.
157
+ * @param GetAggregatedSnapshotRequest
158
+ * @return GetAggregatedSnapshotResponse
159
+ * @throws OciError when an error occurs
160
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshot API.
161
+ */
162
+ getAggregatedSnapshot(getAggregatedSnapshotRequest: requests.GetAggregatedSnapshotRequest): Promise<responses.GetAggregatedSnapshotResponse>;
163
+ /**
164
+ * Gets the span details identified by spanId.
168
165
  *
169
166
  * This operation does not retry by default if the user has not defined a retry configuration.
170
167
  * @param GetSpanRequest
171
168
  * @return GetSpanResponse
172
169
  * @throws OciError when an error occurs
173
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
170
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
174
171
  */
175
172
  getSpan(getSpanRequest: requests.GetSpanRequest): Promise<responses.GetSpanResponse>;
176
173
  /**
177
- * Get the trace details identified by traceId
174
+ * Gets the trace details identified by traceId.
178
175
  *
179
176
  * This operation does not retry by default if the user has not defined a retry configuration.
180
177
  * @param GetTraceRequest
181
178
  * @return GetTraceResponse
182
179
  * @throws OciError when an error occurs
183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
180
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
184
181
  */
185
182
  getTrace(getTraceRequest: requests.GetTraceRequest): Promise<responses.GetTraceResponse>;
183
+ /**
184
+ * Gets the trace snapshots data identified by trace ID.
185
+ *
186
+ * This operation does not retry by default if the user has not defined a retry configuration.
187
+ * @param GetTraceSnapshotRequest
188
+ * @return GetTraceSnapshotResponse
189
+ * @throws OciError when an error occurs
190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetTraceSnapshot.ts.html |here} to see how to use GetTraceSnapshot API.
191
+ */
192
+ getTraceSnapshot(getTraceSnapshotRequest: requests.GetTraceSnapshotRequest): Promise<responses.GetTraceSnapshotResponse>;
186
193
  }
package/lib/client.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
  *
@@ -111,7 +111,7 @@ class QueryClient {
111
111
  * @param region The region of the service.
112
112
  */
113
113
  set region(region) {
114
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(QueryClient.serviceEndpointTemplate, region);
114
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(QueryClient.serviceEndpointTemplate, region, QueryClient.endpointServiceName);
115
115
  }
116
116
  /**
117
117
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -122,17 +122,17 @@ class QueryClient {
122
122
  * @param regionId The public region ID.
123
123
  */
124
124
  set regionId(regionId) {
125
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(QueryClient.serviceEndpointTemplate, regionId);
125
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(QueryClient.serviceEndpointTemplate, regionId, QueryClient.endpointServiceName);
126
126
  }
127
127
  /**
128
- * Returns a list of predefined quick pick queries intended to assist the user
128
+ * Returns a list of predefined Quick Pick queries intended to assist the user
129
129
  * to choose a query to run. There is no sorting applied on the results.
130
130
  *
131
131
  * This operation does not retry by default if the user has not defined a retry configuration.
132
132
  * @param ListQuickPicksRequest
133
133
  * @return ListQuickPicksResponse
134
134
  * @throws OciError when an error occurs
135
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
136
136
  */
137
137
  listQuickPicks(listQuickPicksRequest) {
138
138
  return __awaiter(this, void 0, void 0, function* () {
@@ -235,8 +235,8 @@ class QueryClient {
235
235
  return oci_common_1.paginateResponses(request, req => this.listQuickPicks(req));
236
236
  }
237
237
  /**
238
- * Given a query, constructed according to the APM Defined Query Syntax, retrieves the results - selected attributes,
239
- * and aggregations of the queried entity. Query Results are filtered by the filter criteria specified in the where clause.
238
+ * Retrieves the results (selected attributes and aggregations) of a query constructed according to the Application Performance Monitoring Defined Query Syntax.
239
+ * Query results are filtered by the filter criteria specified in the where clause.
240
240
  * Further query results are grouped by the attributes specified in the group by clause. Finally,
241
241
  * ordering (asc/desc) is done by the specified attributes in the order by clause.
242
242
  *
@@ -244,7 +244,7 @@ class QueryClient {
244
244
  * @param QueryRequest
245
245
  * @return QueryResponse
246
246
  * @throws OciError when an error occurs
247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/Query.ts.html |here} to see how to use Query API.
247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/Query.ts.html |here} to see how to use Query API.
248
248
  */
249
249
  query(queryRequest) {
250
250
  return __awaiter(this, void 0, void 0, function* () {
@@ -309,86 +309,10 @@ class QueryClient {
309
309
  }
310
310
  });
311
311
  }
312
- /**
313
- * THIS API ENDPOINT WILL BE DEPRECATED AND INSTEAD /queries/actions/runQuery as defined below WILL BE USED GOING FORWARD. THIS EXISTS JUST
314
- * AS A TEMPORARY PLACEHOLDER SO AS TO BE BACKWARDS COMPATIBLE WITH THE UI BETWEEN RELEASE CYCLES.
315
- * Given a query, constructed according to the APM Defined Query Syntax, retrieves the results - selected attributes,
316
- * and aggregations of the queried entity. Query Results are filtered by the filter criteria specified in the where clause.
317
- * Further query results are grouped by the attributes specified in the group by clause. Finally,
318
- * ordering (asc/desc) is done by the specified attributes in the order by clause.
319
- *
320
- * This operation does not retry by default if the user has not defined a retry configuration.
321
- * @param QueryOldRequest
322
- * @return QueryOldResponse
323
- * @throws OciError when an error occurs
324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/QueryOld.ts.html |here} to see how to use QueryOld API.
325
- */
326
- queryOld(queryOldRequest) {
327
- return __awaiter(this, void 0, void 0, function* () {
328
- if (this.logger)
329
- this.logger.debug("Calling operation QueryClient#queryOld.");
330
- const pathParams = {};
331
- const queryParams = {
332
- "apmDomainId": queryOldRequest.apmDomainId,
333
- "limit": queryOldRequest.limit,
334
- "page": queryOldRequest.page,
335
- "timeSpanStartedGreaterThanOrEqualTo": queryOldRequest.timeSpanStartedGreaterThanOrEqualTo,
336
- "timeSpanStartedLessThan": queryOldRequest.timeSpanStartedLessThan
337
- };
338
- let headerParams = {
339
- "Content-Type": common.Constants.APPLICATION_JSON,
340
- "opc-request-id": queryOldRequest.opcRequestId
341
- };
342
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
343
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, queryOldRequest.retryConfiguration, specRetryConfiguration);
344
- if (this.logger)
345
- retrier.logger = this.logger;
346
- const request = yield oci_common_2.composeRequest({
347
- baseEndpoint: this._endpoint,
348
- defaultHeaders: this._defaultHeaders,
349
- path: "/queries/action/runQuery",
350
- method: "POST",
351
- bodyContent: common.ObjectSerializer.serialize(queryOldRequest.queryDetails, "QueryDetails", model.QueryDetails.getJsonObj),
352
- pathParams: pathParams,
353
- headerParams: headerParams,
354
- queryParams: queryParams
355
- });
356
- try {
357
- const response = yield retrier.makeServiceCall(this._httpClient, request);
358
- const sdkResponse = oci_common_2.composeResponse({
359
- responseObject: {},
360
- body: yield response.json(),
361
- bodyKey: "queryResultResponse",
362
- bodyModel: model.QueryResultResponse,
363
- type: "model.QueryResultResponse",
364
- responseHeaders: [
365
- {
366
- value: response.headers.get("opc-request-id"),
367
- key: "opcRequestId",
368
- dataType: "string"
369
- },
370
- {
371
- value: response.headers.get("opc-total-items"),
372
- key: "opcTotalItems",
373
- dataType: "number"
374
- },
375
- {
376
- value: response.headers.get("opc-next-page"),
377
- key: "opcNextPage",
378
- dataType: "string"
379
- }
380
- ]
381
- });
382
- return sdkResponse;
383
- }
384
- catch (err) {
385
- throw err;
386
- }
387
- });
388
- }
389
312
  }
390
313
  exports.QueryClient = QueryClient;
391
314
  QueryClient.serviceEndpointTemplate = "https://apm-trace.{region}.oci.{secondLevelDomain}";
315
+ QueryClient.endpointServiceName = "";
392
316
  var TraceApiKeys;
393
317
  (function (TraceApiKeys) {
394
318
  })(TraceApiKeys = exports.TraceApiKeys || (exports.TraceApiKeys = {}));
@@ -451,7 +375,7 @@ class TraceClient {
451
375
  * @param region The region of the service.
452
376
  */
453
377
  set region(region) {
454
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(TraceClient.serviceEndpointTemplate, region);
378
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(TraceClient.serviceEndpointTemplate, region, TraceClient.endpointServiceName);
455
379
  }
456
380
  /**
457
381
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -462,16 +386,75 @@ class TraceClient {
462
386
  * @param regionId The public region ID.
463
387
  */
464
388
  set regionId(regionId) {
465
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(TraceClient.serviceEndpointTemplate, regionId);
389
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(TraceClient.serviceEndpointTemplate, regionId, TraceClient.endpointServiceName);
466
390
  }
467
391
  /**
468
- * Get the span details identified by spanId
392
+ * Gets the aggregated snapshot identified by trace ID.
393
+ *
394
+ * This operation does not retry by default if the user has not defined a retry configuration.
395
+ * @param GetAggregatedSnapshotRequest
396
+ * @return GetAggregatedSnapshotResponse
397
+ * @throws OciError when an error occurs
398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshot API.
399
+ */
400
+ getAggregatedSnapshot(getAggregatedSnapshotRequest) {
401
+ return __awaiter(this, void 0, void 0, function* () {
402
+ if (this.logger)
403
+ this.logger.debug("Calling operation TraceClient#getAggregatedSnapshot.");
404
+ const pathParams = {
405
+ "{traceKey}": getAggregatedSnapshotRequest.traceKey
406
+ };
407
+ const queryParams = {
408
+ "apmDomainId": getAggregatedSnapshotRequest.apmDomainId
409
+ };
410
+ let headerParams = {
411
+ "Content-Type": common.Constants.APPLICATION_JSON,
412
+ "opc-request-id": getAggregatedSnapshotRequest.opcRequestId
413
+ };
414
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
415
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAggregatedSnapshotRequest.retryConfiguration, specRetryConfiguration);
416
+ if (this.logger)
417
+ retrier.logger = this.logger;
418
+ const request = yield oci_common_2.composeRequest({
419
+ baseEndpoint: this._endpoint,
420
+ defaultHeaders: this._defaultHeaders,
421
+ path: "/traces/{traceKey}/aggregatedSnapshotData",
422
+ method: "GET",
423
+ pathParams: pathParams,
424
+ headerParams: headerParams,
425
+ queryParams: queryParams
426
+ });
427
+ try {
428
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
429
+ const sdkResponse = oci_common_2.composeResponse({
430
+ responseObject: {},
431
+ body: yield response.json(),
432
+ bodyKey: "aggregatedSnapshot",
433
+ bodyModel: model.AggregatedSnapshot,
434
+ type: "model.AggregatedSnapshot",
435
+ responseHeaders: [
436
+ {
437
+ value: response.headers.get("opc-request-id"),
438
+ key: "opcRequestId",
439
+ dataType: "string"
440
+ }
441
+ ]
442
+ });
443
+ return sdkResponse;
444
+ }
445
+ catch (err) {
446
+ throw err;
447
+ }
448
+ });
449
+ }
450
+ /**
451
+ * Gets the span details identified by spanId.
469
452
  *
470
453
  * This operation does not retry by default if the user has not defined a retry configuration.
471
454
  * @param GetSpanRequest
472
455
  * @return GetSpanResponse
473
456
  * @throws OciError when an error occurs
474
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
457
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
475
458
  */
476
459
  getSpan(getSpanRequest) {
477
460
  return __awaiter(this, void 0, void 0, function* () {
@@ -525,13 +508,13 @@ class TraceClient {
525
508
  });
526
509
  }
527
510
  /**
528
- * Get the trace details identified by traceId
511
+ * Gets the trace details identified by traceId.
529
512
  *
530
513
  * This operation does not retry by default if the user has not defined a retry configuration.
531
514
  * @param GetTraceRequest
532
515
  * @return GetTraceResponse
533
516
  * @throws OciError when an error occurs
534
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.1/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
517
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
535
518
  */
536
519
  getTrace(getTraceRequest) {
537
520
  return __awaiter(this, void 0, void 0, function* () {
@@ -583,7 +566,70 @@ class TraceClient {
583
566
  }
584
567
  });
585
568
  }
569
+ /**
570
+ * Gets the trace snapshots data identified by trace ID.
571
+ *
572
+ * This operation does not retry by default if the user has not defined a retry configuration.
573
+ * @param GetTraceSnapshotRequest
574
+ * @return GetTraceSnapshotResponse
575
+ * @throws OciError when an error occurs
576
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/apmtraces/GetTraceSnapshot.ts.html |here} to see how to use GetTraceSnapshot API.
577
+ */
578
+ getTraceSnapshot(getTraceSnapshotRequest) {
579
+ return __awaiter(this, void 0, void 0, function* () {
580
+ if (this.logger)
581
+ this.logger.debug("Calling operation TraceClient#getTraceSnapshot.");
582
+ const pathParams = {
583
+ "{traceKey}": getTraceSnapshotRequest.traceKey
584
+ };
585
+ const queryParams = {
586
+ "apmDomainId": getTraceSnapshotRequest.apmDomainId,
587
+ "isSummarized": getTraceSnapshotRequest.isSummarized,
588
+ "threadId": getTraceSnapshotRequest.threadId,
589
+ "snapshotTime": getTraceSnapshotRequest.snapshotTime
590
+ };
591
+ let headerParams = {
592
+ "Content-Type": common.Constants.APPLICATION_JSON,
593
+ "opc-request-id": getTraceSnapshotRequest.opcRequestId
594
+ };
595
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
596
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTraceSnapshotRequest.retryConfiguration, specRetryConfiguration);
597
+ if (this.logger)
598
+ retrier.logger = this.logger;
599
+ const request = yield oci_common_2.composeRequest({
600
+ baseEndpoint: this._endpoint,
601
+ defaultHeaders: this._defaultHeaders,
602
+ path: "/traces/{traceKey}/snapshotData",
603
+ method: "GET",
604
+ pathParams: pathParams,
605
+ headerParams: headerParams,
606
+ queryParams: queryParams
607
+ });
608
+ try {
609
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
610
+ const sdkResponse = oci_common_2.composeResponse({
611
+ responseObject: {},
612
+ body: yield response.json(),
613
+ bodyKey: "traceSnapshot",
614
+ bodyModel: model.TraceSnapshot,
615
+ type: "model.TraceSnapshot",
616
+ responseHeaders: [
617
+ {
618
+ value: response.headers.get("opc-request-id"),
619
+ key: "opcRequestId",
620
+ dataType: "string"
621
+ }
622
+ ]
623
+ });
624
+ return sdkResponse;
625
+ }
626
+ catch (err) {
627
+ throw err;
628
+ }
629
+ });
630
+ }
586
631
  }
587
632
  exports.TraceClient = TraceClient;
588
633
  TraceClient.serviceEndpointTemplate = "https://apm-trace.{region}.oci.{secondLevelDomain}";
634
+ TraceClient.endpointServiceName = "";
589
635
  //# sourceMappingURL=client.js.map
package/lib/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/apmtraces/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,YAAe;AAA3B,WAAY,YAAY;AAAE,CAAC,EAAf,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAG;AAC3B;;GAEG;AACH,MAAa,WAAW;IAStB,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,cAAe,CAAC,OAAO;gBAC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C,eAAe,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;gBAC1E,MAAM,WAAW,GAAG,4BAAe,CAAC;oBAClC,cAAc,EAAsC,EAAE;oBACtD,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE;oBAC3B,OAAO,EAAE,eAAe;oBACxB,SAAS,EAAE,KAAK,CAAC,aAAa;oBAC9B,IAAI,EAAE,qBAAqB;oBAC3B,eAAe,EAAE;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AAnWH,kCAoWC;AAnWkB,mCAAuB,GAAG,oDAAoD,CAAC;AAC/E,+BAAmB,GAAG,EAAE,CAAC"}
@@ -0,0 +1,34 @@
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
+ * Aggregated snapshots of all spans.
17
+ *
18
+ */
19
+ export interface AggregatedSnapshot {
20
+ /**
21
+ * Aggregated snapshot details.
22
+ *
23
+ */
24
+ "details": Array<model.SnapshotDetail>;
25
+ /**
26
+ * List of aggregated stack trace.
27
+ *
28
+ */
29
+ "aggregatedStackTraces": Array<model.AggregatedStackTrace>;
30
+ }
31
+ export declare namespace AggregatedSnapshot {
32
+ function getJsonObj(obj: AggregatedSnapshot): object;
33
+ function getDeserializedJsonObj(obj: AggregatedSnapshot): object;
34
+ }
@@ -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.AggregatedSnapshot = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var AggregatedSnapshot;
38
+ (function (AggregatedSnapshot) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "details": obj.details
42
+ ? obj.details.map(item => {
43
+ return model.SnapshotDetail.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "aggregatedStackTraces": obj.aggregatedStackTraces
47
+ ? obj.aggregatedStackTraces.map(item => {
48
+ return model.AggregatedStackTrace.getJsonObj(item);
49
+ })
50
+ : undefined
51
+ });
52
+ return jsonObj;
53
+ }
54
+ AggregatedSnapshot.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "details": obj.details
58
+ ? obj.details.map(item => {
59
+ return model.SnapshotDetail.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined,
62
+ "aggregatedStackTraces": obj.aggregatedStackTraces
63
+ ? obj.aggregatedStackTraces.map(item => {
64
+ return model.AggregatedStackTrace.getDeserializedJsonObj(item);
65
+ })
66
+ : undefined
67
+ });
68
+ return jsonObj;
69
+ }
70
+ AggregatedSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
71
+ })(AggregatedSnapshot = exports.AggregatedSnapshot || (exports.AggregatedSnapshot = {}));
72
+ //# sourceMappingURL=aggregated-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregated-snapshot.js","sourceRoot":"","sources":["../../../../../lib/apmtraces/lib/model/aggregated-snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,kBAAkB,CAuClC;AAvCD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC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