Skip to content

try-cascade/cascade-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. 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 Compose to finish deploying your application and start viewing traces.

About

An npm package for instrumenting traces generation and exporting compatible with the ADOT collector

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •