Alert Value Widget

Alert values are query values showing the current value of the metric in any simple-alert metric monitor defined on your system:

Three alert value widgets with three different monitor statuses for disk space, high cpu and checkout error rate

Setup

Alert Value setup page for high cpu monitor

Configuration

  1. Choose an existing metric monitor to graph.
  2. Select the formatting to display:
    • Decimal
    • Units
    • Alignment
  3. Give your graph a title.

API

This widget can be used with the Dashboards API. See the Dashboards API documentation for additional reference.

The dedicated widget JSON schema definition for the alert value widget is:

Expand All

Field

Type

Description

alert_id [required]

string

ID of the alert to use in the widget.

precision

int64

Number of decimal to show. If not defined, will use the raw value.

text_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title

string

Title of the widget.

title_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title_size

string

Size of value in the widget.

type [required]

enum

Type of the alert value widget. Allowed enum values: alert_value

unit

string

Unit to display with the value.

{
  "alert_id": "",
  "precision": "integer",
  "text_align": "string",
  "title": "string",
  "title_align": "string",
  "title_size": "string",
  "type": "alert_value",
  "unit": "string"
}

Further Reading

Additional helpful documentation, links, and articles: