Skip to content

Commit

Permalink
group_paths and filter_unhandled_paths default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhillier committed Jan 17, 2024
1 parent eb2f19b commit 4683bf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="starlette_exporter",
version="0.17.1",
version="0.18.0",
author="Stephen Hillier",
author_email="stephenhillier@gmail.com",
packages=["starlette_exporter"],
Expand Down
4 changes: 2 additions & 2 deletions starlette_exporter/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ class PrometheusMiddleware:
def __init__(
self,
app: ASGIApp,
group_paths: bool = False,
group_paths: bool = True,
app_name: str = "starlette",
prefix: str = "starlette",
buckets: Optional[Sequence[Union[float, str]]] = None,
filter_unhandled_paths: bool = False,
filter_unhandled_paths: bool = True,
skip_paths: Optional[List[str]] = None,
skip_methods: Optional[List[str]] = None,
optional_metrics: Optional[List[str]] = None,
Expand Down

0 comments on commit 4683bf1

Please sign in to comment.