Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

## Auto-archived due to inactivity. ## [DEPRECATED] Datadog middleware for Connect JS / Express

License

Notifications You must be signed in to change notification settings

DataDog/node-connect-datadog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This library is deprecated and has been replaced with Datadog APM which generates the same metrics but also has many other features and integrations. We highly recommend upgrading to APM as this library will receive no further updates.

node-connect-datadog

Datadog middleware for Connect JS / Express

Usage

Add middleware immediately before your router.

app.use(require("connect-datadog")({}));
app.use(app.router);

Options

All options are optional.

  • dogstatsd node-dogstatsd client. default = new require("node-dogstatsd").StatsD()
  • stat string name for the stat. default = "node.express.router"
  • tags array of tags to be added to the histogram. default = []
  • path boolean include path tag. default = false
  • base_url boolean include baseUrl. default = false
  • method boolean include http method tag. default = false
  • protocol boolean include protocol tag. default = false
  • response_code boolean include http response codes. default = false
  • delim string char to replace pipe char with in the route default = '-'

License

View the LICENSE file.

About

## Auto-archived due to inactivity. ## [DEPRECATED] Datadog middleware for Connect JS / Express

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%