@wmp-sbd/aws-xray-sdk

2.2.17 • Public • Published

수정사항

cls-hooked 을 사용하여 await, async 를 사용하는 환경에서 segment를 가져올 수 있도록 함.
아래의 환경변수 설정시 동작

AWS_XRAY_EXPERIMENTAL_ASYNC_AWAIT=true

관련이슈 보기

Requirements

AWS SDK v2.7.15 or greater (if using captureAWS or captureAWSClient) Express 4.14.0 or greater (if using Express and the associated X-Ray middleware) MySQL 2.12.0 or greater (if using captureMySQL) Postgres 6.1.0 or greater (if using capturePostgres)

AWS X-Ray

The AWS X-Ray SDK automatically records information for incoming and outgoing requests and responses (via middleware), as well as local data such as function calls, time, variables (via metadata and annotations), even EC2 instance data (via plugins).

Although the AWS X-Ray SDK was originally intended to capture request/response data on a web app, the SDK provides functionality for use cases outside this as well. The SDK exposes the 'Segment' and 'Subsegment' objects to create your own capturing mechanisms, middleware, etc.

This package includes all other AWS X-Ray packages except aws-xray-sdk-restify which is still in beta.

aws-xray-sdk-core
aws-xray-sdk-express
aws-xray-sdk-postgres
aws-xray-sdk-mysql

Setup

The core package contains the base SDK functionality. Please see the aws-xray-sdk-core README.md for more details.

Support for web frameworks

Package Sidebar

Install

npm i @wmp-sbd/aws-xray-sdk

Weekly Downloads

0

Version

2.2.17

License

Apache-2.0

Unpacked Size

24.9 kB

Total Files

7

Last publish

Collaborators

  • wmp-sbd-publisher