Skip to content

Commit

Permalink
fix(api): should_group_status_codes=False (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren authored Jan 13, 2025
1 parent 2677f68 commit b41b3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion keep/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ async def catch_exception(request: Request, exc: Exception):

if config("KEEP_METRICS", default="true", cast=bool):
Instrumentator(
excluded_handlers=["/metrics", "/metrics/processing"]
excluded_handlers=["/metrics", "/metrics/processing"],
should_group_status_codes=False,
).instrument(app=app, metric_namespace="keep")
keep.api.observability.setup(app)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "keep"
version = "0.34.0"
version = "0.34.1"
description = "Alerting. for developers, by developers."
authors = ["Keep Alerting LTD"]
packages = [{include = "keep"}]
Expand Down

0 comments on commit b41b3ad

Please sign in to comment.