We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5400a0 + ba8aa85 commit 8af652fCopy full SHA for 8af652f
lib/hydro.js
@@ -76,8 +76,9 @@ module.exports = class Hydro {
76
77
const res = await statsd.asyncTimer(doFetch, 'hydro.response_time')()
78
79
- statsd.increment(`hydro.response_code.${res.status}`, 1)
80
- statsd.increment('hydro.response_code.all', 1)
+ const statTags = [`response_code:${res.status}`]
+ statsd.increment(`hydro.response_code.${res.status}`, 1, statTags)
81
+ statsd.increment('hydro.response_code.all', 1, statTags)
82
83
// Track hydro exceptions in Sentry, but don't track 503s because we can't do anything about service availability
84
if (!res.ok && res.status !== 503) {
0 commit comments