Uptime Monitoring
Uptime Monitor Metrics
Understanding and using uptime monitoring metrics
Uptime Monitor Metrics
Each uptime monitor generates two metrics that you can use to track your endpoints’ health and performance.
Available Metrics
Response Time Metric
The response time metric (uptime_monitor_[name]_response_time
) tracks how long each request takes to complete.
- Type: Gauge
- Unit: Milliseconds
- Name Format:
uptime_monitor_[name]_response_time
- Description: Measures the total time taken for the request to complete, including network latency
Example uses:
- Track response time trends
- Set alerts for slow responses
- Create dashboards showing endpoint performance
Status Metric
The status metric (uptime_monitor_[name]_status
) indicates whether the endpoint check was successful.
- Type: Gauge
- Unit: Boolean (0 or 1)
- Name Format:
uptime_monitor_[name]_status
- Description: Indicates whether the endpoint check passed all validation criteria
- Labels:
status="success"
: 1 if successful, 0 if failedstatus="failure"
: 1 if failed, 0 if successful
A check is considered successful when:
- The response status code matches the expected pattern
- The response body matches the regex pattern (if specified)
- No connection errors occurred
You can use these metrics in dashboards and alerts to monitor your endpoints’ health.
Was this page helpful?