+- **Litestar `prometheus_group_path` now defaults to `True`** (PR [#144](https://github.com/modern-python/lite-bootstrap/pull/144)). Litestar's own `PrometheusConfig` defaults `group_path=False`, so the `path` metric label recorded the raw request URL. Any route with path parameters then minted one time series per distinct value (`/users/1`, `/users/2`, …), growing the metric registry without bound — visible in production as steadily climbing memory. The new default binds the label to the route template (`/users/{id}`), so cardinality is bounded by the number of routes, not the number of distinct URLs.
0 commit comments