> ## Documentation Index
> Fetch the complete documentation index at: https://metoro.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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 failed
  * `status="failure"`: 1 if failed, 0 if successful

<Note>If you are using sum of `uptime_monitor_[name]_status` don't forget to either group by `status` or set a filter `status=failure` or `status=success`</Note>

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.
