Elasticsearch timing hook.
This measures the requests duration, rather than ES's 'took' value.