fix: hydro status code metric
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user