Skip to content

Instantly share code, notes, and snippets.

@amoj
Created May 12, 2017 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amoj/edbab6640b92324e95e824b3ebc5bd09 to your computer and use it in GitHub Desktop.
Save amoj/edbab6640b92324e95e824b3ebc5bd09 to your computer and use it in GitHub Desktop.
Monitoring CwLogs via X-Ray
const options = {
region: 'us-east-1',
logGroupName: '/aws/lambda/readWorkerFunction'
};
const lambdaLogger = new CwLogs(options);
lambdaLogger.start(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment