diff --git a/lib/hydro.js b/lib/hydro.js index 0081a6d6d4..0755ce4ee0 100644 --- a/lib/hydro.js +++ b/lib/hydro.js @@ -80,7 +80,7 @@ module.exports = class Hydro { const res = await hydroStats.asyncTimer(doFetch, 'response_time')() - hydroStats.increment(`response_code.${res.statusCode}`, 1) + hydroStats.increment(`response_code.${res.status}`, 1) hydroStats.increment('response_code.all', 1) // Track hydro exceptions in Sentry, but don't track 503s because we can't do anything about service availability