Effective monitoring is essential for maintaining a healthy and responsive application. This guide covers how to monitor your CodeNull AI Backend deployment on Azure Container Apps.
CodeNull AI Backend provides a built-in health check endpoint that you can use to verify that the application is running correctly:
Copy
GET /health
Example request:
Copy
curl -X GET https://<your-app-name>.<region>.azurecontainerapps.io/health
This endpoint returns a status code 200 if the application is healthy. You can also include the mongo_db_check parameter (default: 1) to verify MongoDB connectivity.