'Handle request for Prometheus metrics.'

@asyncio.coroutine
def get(self, request):

    _LOGGER.debug('Received    Prometheus    metrics    request')
    return web.Response(body=self.prometheus_client.generate_latest(), content_type='text/plain')
