IWidgetAlertBase
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Common widget alert properties
export interface IWidgetAlertBase
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| (ALPHA) KPI can be on more dashboards - we need to distinguish which dashboard can be used as link in dashboard alerting email | ||
| string | (ALPHA) Kpi alert description | |
| boolean | (ALPHA) Is alert triggered? | |
| number | (ALPHA) Threshold | |
| string | (ALPHA) Kpi alert title | |
| “underThreshold” | “aboveThreshold” | (ALPHA) Rule to apply | |
| (ALPHA) Kpi ref (currently only kpi widget alerts are supported) |
Property details
IWidgetAlertBase.dashboardpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
KPI can be on more dashboards - we need to distinguish which dashboard can be used as link in dashboard alerting email
readonly dashboard: ObjRef;
IWidgetAlertBase.descriptionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Kpi alert description
readonly description: string;
IWidgetAlertBase.isTriggeredpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Is alert triggered?
readonly isTriggered: boolean;
IWidgetAlertBase.thresholdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Threshold
readonly threshold: number;
IWidgetAlertBase.titlepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Kpi alert title
readonly title: string;
IWidgetAlertBase.whenTriggeredpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Rule to apply
readonly whenTriggered: "underThreshold" | "aboveThreshold";
IWidgetAlertBase.widgetpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Kpi ref (currently only kpi widget alerts are supported)
readonly widget: ObjRef;