When you enable asynchronous monitoring in your AWS account, you will be able to send Thundra monitoring data with zero overhead regardless of the size of the data. If you want to learn more about how zero overhead might be important for your applications please
read this blog post.
In order to set up thundra-lambda-adapters-cw to your account, take the following steps:
- Thundra needs a Lambda function called
thundra-lambda-adapters-cwon the user end to publish monitoring data asynchronously to user end. This function must be deployed once and minor configuration updates on this function are applied spontaneously without redeploy. In case of major changes, this function needs to be redeployed with new version.
thundra-lambda-adapters-cwfunction must subscribe to log groups of Lambda functions to be monitored so monitor data (trace, metric and log) can be received. This subscription must be done for each Lambda functions to be monitored.
Please don't forget to set
true on your lambda functions
The following ways are supported to setup Thundra on user end:
If the user end is not an automated deployment environment, setup Thundra manually on user end.
Deploys Thundra by using a Java based deployer tool. To run this deployer tool, JRE must be installed on the user end environment. If a Serverless framework-based deployment environment has not been used before and the user wants an automated deployment process, deployment using the deployer tool might be more suitable.
Deploys Thundra by using Serverless framework. If a Serverless framework is already used for deploying your Lambda functions, this is the recommended option with the least number of manual actions.
The following diagram shows the architecture diagram of Thundra setup on user end and how the user’s monitor data is collected and published: