1.0.0 • Published 1 year ago

cascade-agent v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Purpose

This npm package is an auto-instrumentation agent for your applications to generate and export traces. It is a pre-requisite for Cascade users who wish to deploy their applications on AWS ECS with observability, and is compatible with AWS X-Ray as the tracing backend.

Set Up Tracing Agent

  1. install the cascade-agent package npm install cascade-agent

  2. require cascade-agent and specify the name of the service at the top of each service's server code require('cascade-agent')('my-service');

View Traces on AWS X-Ray

  • prior to deployment on ECS, you will be required to provide the following AWS user credentials:
    • AWS_REGION
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY

That's it! Head over to Cascade GUI to finish deploying your application and start viewing traces.