Socket
Book a DemoInstallSign in
Socket

@tesglobal/connect-datadog

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tesglobal/connect-datadog

Datadog middleware for Connect JS / Express

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
2
Created
Source

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
  • method boolean include http method tag. default = false
  • protocol boolean include protocol tag. default = false
  • response_code boolean include http response codes. default = false

Published fork

Tes Global has published this fork for use via npm, as the original repo has not merged PRs or published a new version for some time.

License

View the LICENSE file.

Keywords

datadog

FAQs

Package last updated on 09 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts