prometheus_health_check
Check if Prometheus is live and ready by testing its health and readiness endpoints. Use this to troubleshoot empty query results by confirming Prometheus is running.
Instructions
Check Prometheus liveness and readiness.
Calls GET /-/healthy and GET /-/ready — management endpoints
outside the /api/v1 namespace. Returns whether each probe returned
a 200 status code.
Use this to verify Prometheus is actually running before investigating blank query results. A failed health check means Prometheus is down; a failed readiness check means it's starting up or shutting down.
Examples:
- Use when: "Why are all my queries returning empty results?"
→ check if Prometheus is healthy first.
- Use when: Setting up a new MCP connection — verify the target
is reachable and healthy.
- Don't use when: You want metric values (call prometheus_query).
Returns:
dict with healthy (bool), healthy_status_code,
ready (bool), ready_status_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ready | Yes | ||
| healthy | Yes | ||
| ready_status_code | Yes | ||
| healthy_status_code | Yes |