Relic Solution: How to integrate with Speedscale

Speedscale lets you capture traffic from one environment and replay elsewhere. Use the traffic replay to validate new code performance and functionality. Track the SRE golden signals of latency, throughput, CPU, memory and error metrics before you deploy. Preview your container or API behavior in your CI pipeline without having to write any scripts. Any necessary backends are provided by Speedscale’s mocking technology, which also uses past traffic to generate proper responses you expect during traffic replay.

The Speedscale Quickstart lets you visualize Speedscale traffic replay performance data in New Relic One dashboards to see how new code will perform in production.

Pre-Requisites

The integration requires that you have a Speedscale cloud account and the appropriate config.yaml settings stored locally. Make sure to run speedctl check and validate that everything returns with green checkmarks as expected.

Integration

In order to utilize the integration you need to capture the following from New Relic:

  • Account Id - where you will publish the data
  • Insights Insert Key - API key with permissions to insert data to New Relic Insights

A best practice is to save these keys into environment variables like so:

export NR_ACCOUNT_ID=0
export NR_INSIGHTS_KEY=0

Now you can select a specific report and export it using speedctl :

export SPD_REPORT_ID=0
speedctl exportNewRelic report ${SPD_REPORT_ID} --accountId ${NR_ACCOUNT_ID} --insightsKey ${NR_INSIGHTS_KEY}      <aws:localstack>
✔ done

Questions?

If you run into any problems, please don’t hesitate to reach out to: support@speedscale.com

Thanks!

3 Likes