Skip to content

Commit

Permalink
Add more buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
Pliner committed Oct 21, 2024
1 parent bb8f598 commit 688fac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aio_request/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"request_path",
"response_status",
),
buckets=(0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 20.0),
buckets=(0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 5.0, 10.0, 15.0, 20.0),
)

def capture_metrics(*, method: str, path: str, client: str, status: int, started_at: float) -> None:
Expand Down
2 changes: 1 addition & 1 deletion aio_request/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"response_status",
"circuit_breaker",
),
buckets=(0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 5.0, 10.0, 15.0, 20.0),
buckets=(0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 5.0, 10.0, 15.0, 20.0),
)

def capture_metrics(
Expand Down

0 comments on commit 688fac8

Please sign in to comment.