How to Monitor Azure Container Apps with Vigilmon (Free External Uptime Checks)
Azure Container Apps is a serverless container platform that scales to zero. If your container crashes or fails to start, your endpoint simply stops responding. External uptime monitoring catches this immediately, before your users do.
Why External Monitoring Complements Azure Monitor
Azure Monitor tells you what is happening inside your container (CPU, memory, logs). But it does not always catch:
- Cold-start failures where the container never warms up
- Scale-to-zero scenarios where traffic routes to a dead replica
- Network-layer issues between Azure's edge and your running container
- Your container crashing silently and restart-looping without triggering an alert
External monitoring hits your actual URL from outside Azure — the same perspective as your users.
Step 1: Expose a Health Endpoint
Your container should expose a /health endpoint that returns HTTP 200 when healthy.
Node.js Express example:
app.get('/health', (req, res) => {
res.json({ status: 'ok', timestamp: Date.now() });
});
Python FastAPI example:
@app.get("/health")
async def health():
return {"status": "ok"}
Step 2: Find Your Azure Container Apps URL
- Go to Azure Portal > Container Apps > your app
- Find the Application URL in the Overview panel
- Verify: curl https://your-app.region.azurecontainerapps.io/health
Step 3: Create a Monitor in Vigilmon
- Log into vigilmon.online
- Click New Monitor > HTTP/HTTPS
- Set URL to your Container App health endpoint
- Set Check interval to 1 minute
- Set Regions to at least 2 for consensus
- Set Expected status to 200
- Save
Step 4: Handle Scale-to-Zero Cold Starts
If your Container App scales to zero replicas, the first check after inactivity may trigger a cold start taking several seconds. To avoid false alerts:
- Set response timeout to 30 seconds in Vigilmon
- Set alert after 2+ consecutive failures
Alternatively, set your Container App minimum replicas to 1 to eliminate cold starts.
Step 5: Add SSL Monitoring
- New Monitor > SSL Certificate in Vigilmon
- Enter your Container App domain
- Alert at 30 days remaining
Summary
| Step | Action |
|---|---|
| 1 | Add /health endpoint to your container |
| 2 | Find your Azure Container Apps URL |
| 3 | Create HTTP monitor in Vigilmon |
| 4 | Set 30s timeout + 2-failure threshold for cold starts |
| 5 | Add SSL certificate monitor |
| 6 | Configure email/Slack alerts |
Top comments (0)