Add a top level measure
This commit is contained in:
parent
6d1a94d218
commit
27e0178da9
|
@ -104,6 +104,7 @@ def wrap_request_handler(request_handler, report_metrics):
|
||||||
_next_request_id += 1
|
_next_request_id += 1
|
||||||
|
|
||||||
with LoggingContext(request_id) as request_context:
|
with LoggingContext(request_id) as request_context:
|
||||||
|
with Measure(self.clock, "wrapped_request_handler"):
|
||||||
if report_metrics:
|
if report_metrics:
|
||||||
request_metrics = RequestMetrics()
|
request_metrics = RequestMetrics()
|
||||||
request_metrics.start(self.clock)
|
request_metrics.start(self.clock)
|
||||||
|
|
Loading…
Reference in New Issue