---
title: Uptime and Downtime by Value
slug: bhdo/uptime-and-downtime-by-value
createdAt: 2022-10-21T14:40:51.000Z
---

The Uptime and Downtime KPI is used to compare your current value with a desired value.

When creating an analytics flow, refer to details about this function processor by reviewing [Processor Flow Parameters](https://public-docs.litmus.io/bhdo/processor-flow-parameters#tensor-flow-processor).&#x20;

The following information describes this KPI:

- Use **Uptime and Downtime&#xA0;**&#x69;f you would like to count Uptime or Downtime by comparing your current value with a desired value.
- For **condition**, you can define Downtime if the current value is greater (>), less (\<), equal (==) or notEqual (!=) than the desired value.
- Use **delta&#xA0;**&#x69;f you want to forgive a rounding error.
- The **timer interval&#xA0;**&#x70;arameter is useful if the connected input tag is offline but you still want this KPI to look for a value every few seconds, defined by the timer.
  If you know your tag is going to reliably publish at the expected interval, it is better to disable this timer by entering `0` in the field.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/CdNTnRpbanU5BuSZ6KcTj_image.png" size="80" width="1266" height="440" caption="Expected output fields" position="center" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/8wWqjAs1g2psEYH-LGcvz_image.png" size="80" width="1305" height="336" caption="Uptime and Downtime by Value visualization" position="center" showCaption="true"}

