mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added time field to slow get helper logging (#20427)
refs [CFR-36](https://linear.app/tryghost/issue/CFR-36/pull-out-response-time-from-ghost-logs-message-field-for-get-helper) Added time field to slow get helper logging to make it easier to query and filter on this value in elastic without having to parse the message field
This commit is contained in:
parent
e0057fd30f
commit
897481b3b4
1 changed files with 7 additions and 5 deletions
|
@ -357,7 +357,9 @@ module.exports = async function get(resource, options) {
|
|||
apiOptions,
|
||||
returnedRows: returnedRowsCount
|
||||
}
|
||||
}));
|
||||
}), {
|
||||
time: totalMs
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue