-
Notifications
You must be signed in to change notification settings - Fork 32
/
urls.py
40 lines (39 loc) · 1.56 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from django.conf.urls import url
from django.urls import include, path
from . import views
urlpatterns = [
url('', include('health_check.urls')),
path('flower/', views.FlowerHealthcheckView.as_view(), name='flower-healthcheck'),
path('db/', views.DBHealthcheckView.as_view(), name='db-healthcheck'),
path('redis/', views.RedisHealthcheckView.as_view(), name='redis-healthcheck'),
path('es/', views.ESHealthcheckView.as_view(), name='redis-healthcheck'),
path('celery/', views.CeleryHealthCheckView.as_view(), name='celery-healthcheck'),
path(
'celery@default/', views.CeleryDefaultHealthCheckView.as_view(),
name='celery-default-healthcheck'
),
path(
'celery@concurrent/', views.CeleryConcurrentThreadsHealthCheckView.as_view(),
name='celery-concurrent-healthcheck'
),
path(
'celery@bulk_import_0/', views.CeleryBulkImport0HealthCheckView.as_view(),
name='celery-bulk_import_0-healthcheck'
),
path(
'celery@bulk_import_1/', views.CeleryBulkImport1HealthCheckView.as_view(),
name='celery-bulk_import_1-healthcheck'
),
path(
'celery@bulk_import_2/', views.CeleryBulkImport2HealthCheckView.as_view(),
name='celery-bulk_import_2-healthcheck'
),
path(
'celery@bulk_import_3/', views.CeleryBulkImport3HealthCheckView.as_view(),
name='celery-bulk_import_3-healthcheck'
),
path(
'celery@bulk_import_root/', views.CeleryBulkImportRootHealthCheckView.as_view(),
name='celery-bulk_import_root-healthcheck'
),
]