We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e61e1 commit 7296ee1Copy full SHA for 7296ee1
cads_processing_api_service/middlewares.py
@@ -52,6 +52,6 @@ class ProcessingPrometheusMiddleware(starlette_exporter.PrometheusMiddleware):
52
def _get_router_path(scope: starlette.types.Scope) -> str | None:
53
path = scope.get("path", "")
54
if path.startswith("/jobs/") and path != "/jobs/":
55
- return "/jobs/(job_id)"
+ return "/jobs/job_id"
56
else:
57
return None
0 commit comments