Skip to content

Commit

Permalink
fix: corrected fastapi metric exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Feb 9, 2024
1 parent 5d2fa25 commit 0c27108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions powerdns_api_proxy/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 0c27108

Please sign in to comment.