Skip to content

Overwrites sails.log.info, sails.log.error, and creates a sails.log.success

Notifications You must be signed in to change notification settings

bxfsh/sails-hook-datadog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sails-hook-datadog

Overwrites sails.log.info, sails.log.error, and creates a sails.log.success

Installation

npm i https://github.com/bxfsh/sails-hook-datadog.git --save

Configuration

You need a datadog config in you sails app or else this hook will not work

config/datadog.js

module.exports.datadog = {
  active: true,
  app_key: 'app_key',
  api_key: 'api_key'
};

Usage

If active in the configuration file any sails.log.info(), sails.log.error(), or sails.log.success() will be sent to datadog.

About

Overwrites sails.log.info, sails.log.error, and creates a sails.log.success

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published