Skip to content

Commit 7296ee1

Browse files
committed
change grouped_path
1 parent a8e61e1 commit 7296ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cads_processing_api_service/middlewares.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ class ProcessingPrometheusMiddleware(starlette_exporter.PrometheusMiddleware):
5252
def _get_router_path(scope: starlette.types.Scope) -> str | None:
5353
path = scope.get("path", "")
5454
if path.startswith("/jobs/") and path != "/jobs/":
55-
return "/jobs/(job_id)"
55+
return "/jobs/job_id"
5656
else:
5757
return None

0 commit comments

Comments
 (0)