trallnag / prometheus-fastapi-instrumentator

Instrument your FastAPI with Prometheus metrics.
ISC License
929 stars 83 forks source link

feat: Add HTTP Basic auth on the metrics endpoint #289

Open zidokobik opened 6 months ago

zidokobik commented 6 months ago

Referencing #283.

gaby commented 6 months ago

@trallnag Can you take a look at this, it fixes a security issue

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.79%. Comparing base (b645ccb) to head (224b34a). Report is 9 commits behind head on master.

:exclamation: Current head 224b34a differs from pull request most recent head ad7b996. Consider uploading reports for the commit ad7b996 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #289 +/- ## ========================================== + Coverage 95.68% 95.79% +0.10% ========================================== Files 5 5 Lines 348 357 +9 ========================================== + Hits 333 342 +9 Misses 15 15 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.