3.0.1 • Published 5 months ago

fastify-datadog v3.0.1

Weekly downloads
355
License
MIT
Repository
github
Last release
5 months ago

fastify-datadog

CI npm version js-standard-style

🐶 Datadog plugin for fastify. Influenced by node-connect-datadog

Install

$ npm install fastify-datadog

Usage

const StatsD = require('hot-shots')

fastify.register(require('fastify-datadog'), {
  dogstatsd: new StatsD()
})

Options

  • dogstatsd DogStatsD client.
  • stat string name for the stat. default = "node.fastify.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
  • responseCode boolean include http response codes. default = false
3.0.1

5 months ago

3.0.0

5 months ago

2.0.1

2 years ago

2.0.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago