{"library":"aws-xray-sdk-express","type":"library","category":null,"description":"The `aws-xray-sdk-express` package provides middleware functions for Express.js applications to integrate with AWS X-Ray, enabling distributed tracing for incoming requests and outgoing responses. As part of the broader `aws-xray-sdk-node` monorepo, its current stable version is 3.12.0, with regular updates following the main SDK. It supports both automatic and manual tracing modes. The automatic mode, which is the default, utilizes the `cls-hooked` package for automatic context propagation across asynchronous operations, simplifying segment and subsegment management. Key differentiators include its official AWS support, seamless integration with Express.js routing, and the flexibility to choose between automatic and manual tracing paradigms to suit different application complexities and debugging needs. It requires Express 4.14.0 or greater and `aws-xray-sdk-core` as a peer dependency.","language":"javascript","status":"active","version":"3.12.0","tags":["javascript","amazon","api","aws","express","xray","x-ray","x ray","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install aws-xray-sdk-express","imports":["import * as xrayExpress from 'aws-xray-sdk-express';","import * as AWSXRay from 'aws-xray-sdk-core';","import type { Segment } from 'aws-xray-sdk-core';"]},{"cmd":"yarn add aws-xray-sdk-express","imports":[]},{"cmd":"pnpm add aws-xray-sdk-express","imports":[]}],"homepage":"https://aws.amazon.com/xray/","github":"https://github.com/aws/aws-xray-sdk-node.git#master","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/aws-xray-sdk-express","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/aws-xray-sdk-express/compatibility"}}