diff --git a/lib/warm-server.js b/lib/warm-server.js index b58c9d0a348d..42e499b1ae75 100644 --- a/lib/warm-server.js +++ b/lib/warm-server.js @@ -31,6 +31,9 @@ async function warmServer() { const pageMap = await dog.loadPageMap(pageList) const redirects = await dog.loadRedirects(pageList) + statsd.gauge('num_redirects', Object.keys(redirects).length) + statsd.gauge('num_pages', Object.keys(pageMap).length) + if (process.env.NODE_ENV !== 'test') { console.log(`Context primed in ${Date.now() - startTime} ms`) }