This code turns AWS X-Ray Trace into New Relic Insights Events for analysis.
This is not an official New Relic project and not supported by New Relic. It is for demonstration purposes only.
This project uses Terraform to create the Lambda function and associated Cloudwatch rule.
To build the function deployment archive:
$ make lambda
To create a plan:
$ terraform plan
To commit the plan and create the Lambda functions:
$ terraform apply
After running terraform, this function will automatically be invoked every collection_interval_mins
minutes and collect up to five traces.
The data will then be available in New Relic Insights.
- [] Trace filtering
- [] Collecting more traces (> 5, need to add pagination support).