aws-xray-trace-id
v1.0.0
Published
Get AWS X-Ray Trace Id from Lambda Environment
Downloads
32,610
Readme
aws-xray-trace-id
Get AWS X-Ray Trace Id from Lambda Environment
Install
$ yarn add aws-xray-trace-id
Usage
const getTraceId = require('aws-xray-trace-id');
const {root, parent} = getTraceId();
/*
{
root: '1-5a63c944-524af1e83d023d4d222d8a3b',
parent: '533a3da646ba1902'
}
*/
License
MIT © Vlad Holubiev