0.0.3 • Published 8 years ago
hapi-azure-error-tracer v0.0.3
Hapi-azure-error-tracer
Hapi plugin for error-tracing on azure storage tables
Install
npm install Hapi-azure-error-tracer --save
Configurations
All the configurations are done using environment variables.
The connection string to the azure storage (mandatory):
AZURE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=yyyyyyyyyyy"
The name of the error table (default is errors )
ERROR_TABLE="errors"
Usage
const tracer = require('hapi-azure-error-tracer');
server.register(tracer);
Links
- hapi rest
- asynquence control flow
- azure storage explorer azure storage explorer
Contributions
Feel free to fork, update and pr. I'll be happy to discuss further improvements. Cheers.