Add metrics and healthcheck refactor

This commit is contained in:
2022-02-12 14:11:11 +03:00
parent 861b197981
commit 5a1ff6474f
5 changed files with 39 additions and 10 deletions

View File

@@ -67,9 +67,7 @@ async def delete_file(file_id: int):
return uploaded_file
healthcheck_router = APIRouter(
prefix="/api/v1", dependencies=[Depends(check_token)], tags=["healthcheck"]
)
healthcheck_router = APIRouter(tags=["healthcheck"])
@healthcheck_router.get("/healthcheck")