feat(rnd): Add k8s default health check (#8037)

add k8s default health check
This commit is contained in:
Aarushi
2024-09-11 12:30:34 +01:00
committed by GitHub
parent 76480ffa03
commit f5b89672f8

View File

@@ -87,5 +87,11 @@ def health():
content="<h1>Marketplace API</h1>", status_code=200
)
@app.get("/")
def default():
return fastapi.responses.HTMLResponse(
content="<h1>Marketplace API</h1>", status_code=200
)
prometheus_fastapi_instrumentator.Instrumentator().instrument(app).expose(app)