We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0694254 commit a2adea1Copy full SHA for a2adea1
gpd-test/main.py
@@ -35,6 +35,11 @@ async def app_lifespan(fastapi_app: FastAPI):
35
36
app = FastAPI(lifespan=app_lifespan)
37
38
+@app.get("/health")
39
+async def health_check():
40
+ """Health check endpoint for Kubernetes probes"""
41
+ return {"status": "healthy", "service": "gpd-producer"}
42
+
43
@app.post("/send/gpd/message")
44
async def send_msg(message: RTPMessage, request: Request):
45
try:
0 commit comments