The Alert value widget displays the current query value from a simple-alert metric monitor. Simple-alert monitors have a metric query that is not grouped and returns one value. Use Alert value widgets in your dashboard to get an overview of your monitor behaviors and alert statuses.
Setup
Configuration
- Choose an existing metric monitor to graph.
- Select the formatting to display:
- Give your graph a title.
API
This widget can be used with the Dashboards API. See the following table for the widget JSON schema definition:
Expand All
ID of the alert to use in the widget.
Number of decimal to show. If not defined, will use the raw value.
How to align the text on the widget.
Allowed enum values: center,left,right
How to align the text on the widget.
Allowed enum values: center,left,right
Size of value in the widget.
Type of the alert value widget.
Allowed enum values: alert_value
default: alert_value
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: