feat: 添加celery监控信息2
This commit is contained in:
parent
0af253fb0b
commit
966edbacd4
|
@ -41,9 +41,9 @@ class CeleryInfoView(APIView):
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
获取服务器当前状态
|
获取celery状态信息
|
||||||
|
|
||||||
cpu/内存/硬盘
|
获取celery状态信息
|
||||||
"""
|
"""
|
||||||
return Response(CeleryMonitor.get_stats())
|
return Response(CeleryMonitor.get_stats())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue