apio_node
v1.0.12
Published
Apio helps in error & performance monitoring of your application
Downloads
7
Maintainers
Readme
Project Description
Apio helps in monitoring of Applications. You can easily integrate(see setup below) it with your application and instantly start tracking errors and performance metrics.
Setup
Installation instructions: https://youtu.be/XDl2_e6nlKo
Create an account on Apio signup
Register an application on Apio onboarding
Install Apio-node using npm
npm install apio_node --save
Import apio module
const apio = require('apio_node')
in yourapp.js
Add apio request middleware as the first middleware in your
app.js
using following commandapp.use(apio.process_request)
. This middleware tracks every request.Add apio exception middleware in the last middleware of
app.js
using following commandapp.use(apio.process_exception)
. This middleware tracks every exception.Add
application_key
received after you onboarded your application on step 2 in yourconfig.js
file ofapio_node
moduleMake sure you pass the
err
toapio.process_exception
middleware, this means while callingnext()
in your error handler , pass the error object likenext(err)
Thats it :) Now on any error you will receive an email on the registered email id and also you can see all the details of your application on the dashboard of Apio
Disclaimer
The Apio service is currently in beta testing phase. We don't take any responsbility of continued service or issues that may arise.
Contact (any queries)
Email: [email protected]