---
title: Inspect uptime duration anomalies
description: Each monitor location is modeled, and when a monitor runs for an unusual amount of time, at a particular time, an anomaly is recorded and highlighted...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/solutions/observability/uptime/inspect-duration-anomalies
products:
  - Elastic Observability
---

# Inspect uptime duration anomalies
<admonition title="Deprecated in 8.15.0.">
  Use [Synthetic monitoring](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/solutions/observability/synthetics) instead of the Uptime app.
</admonition>

Each monitor location is modeled, and when a monitor runs for an unusual amount of time, at a particular time, an anomaly is recorded and highlighted on the **Monitor duration** chart.

## Enable uptime duration anomaly detection

Create a machine learning job to detect anomalous monitor duration rates automatically.
1. To access this page, go to **Observability > Uptime > Monitors**, and then click a monitor to view its the details.
2. In the **Monitor duration** panel, click **Enable anomaly detection**.
   <note>
   If anomaly detection is already enabled, click **Anomaly detection** and select to view duration anomalies directly in the [Machine Learning app](/elastic/docs-content/pull/4491/explore-analyze/machine-learning/anomaly-detection/ml-getting-started#sample-data-results), enable an [anomaly rule](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/solutions/observability/incident-management/create-an-uptime-duration-anomaly-rule), or disable the anomaly detection.
   </note>
3. You are prompted to create a [response duration anomaly rule](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/solutions/observability/incident-management/create-an-uptime-duration-anomaly-rule) for the machine learning job which will carry out the analysis, and you can configure which severity level to create the rule for.

When an anomaly is detected, the duration is displayed on the **Monitor duration** chart, along with the duration times. The colors represent the criticality of the anomaly: red (critical) and yellow (minor).
![inspect uptime duration anomalies](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/solutions/images/observability-inspect-uptime-duration-anomalies.png)