Skip to content

Commit

Permalink
Metrics: don't group status codes (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjgildea authored Jun 8, 2023
1 parent 8470fab commit 0845ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dials_rest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
from prometheus_fastapi_instrumentator import Instrumentator

instrumentator = Instrumentator(
should_group_status_codes=False,
excluded_handlers=["/metrics"],
)
instrumentator.instrument(app)
Expand Down

0 comments on commit 0845ba3

Please sign in to comment.