Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

statsd.js 306 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. const StatsD = require('hot-shots')
  2. const mock = Boolean(process.env.NODE_ENV === 'test' || !process.env.DD_API_KEY)
  3. /**
  4. * @type {import('hot-shots').StatsD}
  5. */
  6. module.exports = new StatsD({
  7. prefix: 'docs.',
  8. mock,
  9. globalTags: {
  10. app: 'docs',
  11. heroku_app: process.env.HEROKU_APP_NAME
  12. }
  13. })
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...