Alert graphs are timeseries graphs showing the current status of most monitors defined on your system:
This widget is supported in default scheduled query alert monitors such as metric, anomaly, outlier, forecast, APM metrics, and integration.
Setup
Configuration
- Choose a previously created monitor to graph.
- Select a timeframe.
- Select your visualization:
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.
Time setting for the widget.
The available timeframes depend on the widget you are using.
Allowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert
Used for arbitrary live span times, such as 17 minutes or 6 hours.
Type "live" denotes a live span in the new format.
Allowed enum values: live
Unit of the time span.
Allowed enum values: minute,hour,day,week,month,year
Used for fixed span times, such as 'March 1 to March 7'.
Start time in seconds since epoch.
End time in seconds since epoch.
Type "fixed" denotes a fixed span.
Allowed enum values: fixed
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the alert graph widget.
Allowed enum values: alert_graph
default: alert_graph
Whether to display the Alert Graph as a timeseries or a top list.
Allowed enum values: timeseries,toplist
{
"alert_id": "",
"time": {
"live_span": "5m"
},
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "alert_graph",
"viz_type": "timeseries"
}
Further Reading
Additional helpful documentation, links, and articles: