diff --git a/powerdns_api_proxy/proxy.py b/powerdns_api_proxy/proxy.py index 5016667..37de012 100644 --- a/powerdns_api_proxy/proxy.py +++ b/powerdns_api_proxy/proxy.py @@ -75,6 +75,7 @@ async def _startup(app: FastAPI): logger.info('Enabling metrics') instrumentator.add(metrics.default()) instrumentator.add(http_requests_total_environment()) + instrumentator.instrument(app) if config.metrics_require_auth: logger.info('Enabling metrics authentication')