Skip to content

Commit 2f93c9f

Browse files
authored
Merge pull request #18227 from github/repo-sync
repo sync
2 parents 008c490 + 96c95bd commit 2f93c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

middleware/cache-full-rendering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const cheerioCache = new QuickLRU({
2525
// Don't use arrow function so we can access `this`.
2626
onEviction: function onEviction() {
2727
const { heapUsed } = process.memoryUsage()
28-
statsd.gauge('rendering_cache_cheerio', heapUsed, [`size:${this.size}`])
28+
statsd.gauge('middleware.rendering_cache_cheerio', heapUsed, [`size:${this.size}`])
2929
},
3030
})
3131

@@ -34,7 +34,7 @@ const gzipCache = new QuickLRU({
3434
// Don't use arrow function so we can access `this`.
3535
onEviction: function onEviction() {
3636
const { heapUsed } = process.memoryUsage()
37-
statsd.gauge('rendering_cache_gzip', heapUsed, [`size:${gzipCache.size}`])
37+
statsd.gauge('middleware.rendering_cache_gzip', heapUsed, [`size:${gzipCache.size}`])
3838
},
3939
})
4040

0 commit comments

Comments
 (0)