add url metrics

This commit is contained in:
Jorge Pastor 2024-01-14 10:31:23 +01:00
parent dcd525c79e
commit 1716ea36d0
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ urlpatterns = [
url(r'^api-token-auth/', obtain_auth_token, name='api-token-auth'), url(r'^api-token-auth/', obtain_auth_token, name='api-token-auth'),
url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'), url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'),
# url(r'search', 'orchestra.views.search', name='search'), # url(r'search', 'orchestra.views.search', name='search'),
# prometheus metrics
url(r'^metrics/', include('django_prometheus.urls')),
] ]