csevero / nodejs-apm

Example project to learn concepts of Interceptors, this project is an APM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This application was built following this tutorial wrote by Erick Wendel.

The project show how we can create a APM (Application Performance Monitor) using amazing concepts of Nodejs, some contents:

  • Created an interceptor that changes the default behavior of http emit native module to add a custom header on all requests
  • When we receive a post request we use streams to handle with data, using a Transform to handle with chunk, converting it and after using pipeline to return data to client
  • Use the build in reports of Nodejs to save logs when some uncaught error occurs
  • Created tests to each module, using the nodejs assert module

About

Example project to learn concepts of Interceptors, this project is an APM


Languages

Language:JavaScript 100.0%