Skip to content

auridevil/hapi-azure-error-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contributions

Feel free to fork, update and pr. I'll be happy to discuss further improvements. Cheers.

About

Trace errors on azure tables with this hapi plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published