From 01f8ac548136cddff2bf2e3aa9078b190d384efa Mon Sep 17 00:00:00 2001 From: jorgepastorr Date: Thu, 25 Jan 2024 20:44:47 +0100 Subject: [PATCH] metrics add url default metrics --- orchestra/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchestra/urls.py b/orchestra/urls.py index a579bcfb..8e494c16 100644 --- a/orchestra/urls.py +++ b/orchestra/urls.py @@ -24,7 +24,8 @@ urlpatterns = [ url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'), # url(r'search', 'orchestra.views.search', name='search'), # METRICS Prometheus - url(r'^metrics/', metrics_view, name='metrics'), + url(r'^metrics/', include('django_prometheus.urls')), + url(r'^custom_metrics/', metrics_view, name='metrics'), ]