We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a1720 commit 64f0155Copy full SHA for 64f0155
1 file changed
lib/warm-server.js
@@ -7,8 +7,8 @@ const loadSiteTree = require('./site-tree')
7
// Instrument these functions so that
8
// it's wrapped in a timer that reports to Datadog
9
const dog = {
10
- loadPages: statsd.timer(loadPages, 'load_pages'),
11
- loadPageMap: statsd.timer(loadPageMap, 'load_page_map'),
+ loadPages: statsd.asyncTimer(loadPages, 'load_pages'),
+ loadPageMap: statsd.asyncTimer(loadPageMap, 'load_page_map'),
12
loadRedirects: statsd.timer(loadRedirects, 'load_redirects'),
13
loadSiteData: statsd.timer(loadSiteData, 'load_site_data'),
14
loadSiteTree: statsd.asyncTimer(loadSiteTree, 'load_site_tree')
0 commit comments