1.1.3 • Published 6 years ago

exframe-trace v1.1.3

Weekly downloads
5
License
ISC
Repository
bitbucket
Last release
6 years ago

exframe Trace Module

A component to expose AWS X-Ray

Use

Initialize at top

var tracer = require('exframe-trace');

After express init

const app = express();

tracer.init(app);

After all routes

app.get('/', (req, res) => {});

tracer.close();

Environment Variables

NameDescriptionDefault
AWS_XRAY_DEBUG_MODEEnables logging to console output.false
AWS_XRAY_TRACING_NAMEFor overriding the default segment name to use with the middleware.npm_package_name
AWS_XRAY_DAEMON_ADDRESSFor setting the daemon address and port.localhost:2000
AWS_XRAY_CONTEXT_MISSINGFor setting the SDK behavior when trace context is missing.RUNTIME_ERROR
TRACE_ENABLEDFor enabling and disabling tracingtrue
TRACE_CAPTURE_HTTPEnable tracing HTTP requeststrue
TRACE_ENABLE_EC2_PLUGINRecord AWS EC2 instancetrue
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago