def set_metric_update_handler(self, handler: UpdateHandler):
self._update_handler = handler<EOL>
Set a handler to update metrics.

        The provided coroutine function is called at every request with a dict
        as argument, mapping metric names to metrics.  The signature is the
        following:

          async def update_handler(metrics):