feat: 添加celery监控信息2

This commit is contained in:
caoqianming 2024-03-13 17:41:16 +08:00
parent 0af253fb0b
commit 966edbacd4
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ class CeleryInfoView(APIView):
def get(self, request, *args, **kwargs):
"""
获取服务器当前状态
获取celery状态信息
cpu/内存/硬盘
获取celery状态信息
"""
return Response(CeleryMonitor.get_stats())