smithclay / xray-collector-node

AWS X-Ray Traces -> New Relic Insights Events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xray-collector-node

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.

image

Installation

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

Usage

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.

To do

  • [] Trace filtering
  • [] Collecting more traces (> 5, need to add pagination support).

About

AWS X-Ray Traces -> New Relic Insights Events


Languages

Language:JavaScript 66.9%Language:HCL 26.6%Language:Makefile 6.5%