Skip to content

Commit

Permalink
Merge pull request #199 from neutrons/fix_metrics_urls
Browse files Browse the repository at this point in the history
Fix the urlpatterns for the metrics app to address warnings
  • Loading branch information
rosswhitfield authored Nov 21, 2024
2 parents e3efb4e + 15ad755 commit 25b14b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/webmon_app/reporting/metrics/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
app_name = "metrics"

urlpatterns = [
path("/", views.metrics, name="metrics"),
path("/workflow_diagnostics/", views.workflow_diagnostics, name="workflow_diagnostics"),
path("/postprocessing_diagnostics/", views.postprocessing_diagnostics, name="postprocessing_diagnostics"),
path("/instrument_status/", views.instrument_status, name="instrument_status"),
path("/run_statuses/", views.run_statuses, name="run_statuses"),
path("/run_statuses/<int:minutes>/", views.run_statuses, name="run_statuses"),
path("", views.metrics, name="metrics"),
path("workflow_diagnostics/", views.workflow_diagnostics, name="workflow_diagnostics"),
path("postprocessing_diagnostics/", views.postprocessing_diagnostics, name="postprocessing_diagnostics"),
path("instrument_status/", views.instrument_status, name="instrument_status"),
path("run_statuses/", views.run_statuses, name="run_statuses"),
path("run_statuses/<int:minutes>/", views.run_statuses, name="run_statuses"),
]
2 changes: 1 addition & 1 deletion src/webmon_app/reporting/reporting_app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
path("reduction/", include("reporting.reduction.urls", namespace="reduction")),
path("pvmon/", include("reporting.pvmon.urls", namespace="pvmon")),
path("users/", include("reporting.users.urls", namespace="users")),
path("metrics", include("reporting.metrics.urls", namespace="metrics")),
path("metrics/", include("reporting.metrics.urls", namespace="metrics")),
path("database/", admin.site.urls),
path("ht/", include("health_check.urls")),
]

0 comments on commit 25b14b4

Please sign in to comment.