Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including connect-datadog with all npm packages installed. Try it out:

var connectDatadog = require("connect-datadog")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

connect-datadog v0.0.9

Datadog middleware for Connect JS / Express


Datadog middleware for Connect JS / Express


Add middleware immediately before your router.



All options are optional.

  • dogstatsd node-dogstatsd client. default = new require("node-dogstatsd").StatsD()
  • stat string name for the stat. default = ""
  • 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 = '-'


View the LICENSE file.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free