1.0.13 • Published 7 years ago

exframe-trace v1.0.13

Weekly downloads
5
License
ISC
Repository
bitbucket
Last release
7 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

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago