Configure visualization thresholds

    A threshold is a value that you specify for a metric that is visually reflected in a dashboard when the threshold value is met or exceeded.

    Thresholds provide one method for you to conditionally style and color your visualizations based on query results. You can apply thresholds to most, but not all, visualizations. For more information about visualizations, refer to .

    You can use thresholds to:

    There are two types of thresholds:

    • Absolute thresholds are defined by a number. For example, 80 on a scale of 1 to 150.
    • Percentage thresholds are defined relative to minimum or maximum. For example, 80 percent.
    • 80 = red
    • Base = green
    • Mode = Absolute

    The Base value represents minus infinity. It is generally the “good” color.

    You can add as many thresholds to a panel as you want. Grafana automatically sorts thresholds values from highest to lowest.

    Delete a threshold when it is no longer relevant to your business operations. When you delete a threshold, the system removes the threshold from all visualizations that include the threshold.

    1. To add a threshold:

      b. In the options side pane, locate the Thresholds section and click + Add threshold.

      c. Select a threshold color, number, and mode. Threshold mode applies to all thresholds on this panel.

      d. For a time-series panel, select a Show thresholds option.

    2. To delete a threshold, navigate to the panel that contains the threshold and click the trash icon next to the threshold you want to remove.

    1. Navigate to the graph panel to which you want to add a threshold.
    2. On the Panel tab, click Thresholds.
    3. Click Add threshold.
    4. Click Save to save the changes in the dashboard.