Skip to content

Commit

Permalink
Merge pull request #37 from akquinet/config-changes
Browse files Browse the repository at this point in the history
fix: corrected fastapi metric exporter
  • Loading branch information
rwxd authored Feb 9, 2024
2 parents 01ccd40 + 0c27108 commit 9297c6a
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 9297c6a

Please sign in to comment.