cascade-agent

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i cascade-agent

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.12 kB

Total Files

3

Last publish

Collaborators

  • cascade-agent