// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Flyouts.alertsDashboard generates message JSON 1`] = `
Object {
"body": ,
"flyoutProps": Object {
"aria-labelledby": "alertsDashboardFlyout",
"data-test-subj": "alertsDashboardFlyout_undefined",
"hideCloseButton": true,
"size": "m",
},
"footerProps": Object {
"style": Object {
"backgroundColor": "#F5F7FA",
},
},
"header":
Alerts by undefined
,
"headerProps": Object {
"hasBorder": true,
},
}
`;
exports[`Flyouts.message generates message JSON 1`] = `
Object {
"body":
You have access to a "ctx" variable in your painless scripts and action mustache templates.
Learn More
-
HTML Templates with Mustache.js
,
"flyoutProps": Object {
"aria-labelledby": "messageFlyout",
"maxWidth": 500,
"size": "m",
},
"header":
Message
,
"headerProps": Object {
"hasBorder": true,
},
}
`;
exports[`Flyouts.messageFrequency generates message JSON 1`] = `
Object {
"body":
Specify message frequency to limit the number of notifications you receive within a given span of time. This setting is especially useful for low severity trigger conditions.
Consider the following example:
-
A trigger condition is met.
-
The monitor sends a message
-
Message frequency is set to 10 minutes.
For the next 10 minutes, even if a trigger condition is met dozens of times, the monitor sends no additional messages. If the trigger condition is met 11 minutes later, the monitor sends another message.
,
"flyoutProps": Object {
"aria-labelledby": "messageFrequencyFlyout",
"maxWidth": 500,
"size": "m",
},
"header":
Message frequency
,
"headerProps": Object {
"hasBorder": true,
},
}
`;
exports[`Flyouts.triggerCondition generates message JSON 1`] = `
Object {
"body":
You have access to a "ctx" variable in your painless scripts
Below shows a quick JSON example of what's available under the "ctx" variable along with the actual results (where possible) for you to reference.
{
"monitor": "...",
"trigger": "...",
"results": "...",
"periodStart": "...",
"periodEnd": "...",
"alert": "...",
"error": "..."
}
,
"flyoutProps": Object {
"aria-labelledby": "triggerConditionFlyout",
"maxWidth": 500,
"size": "m",
},
"header":
Trigger condition
,
"headerProps": Object {
"hasBorder": true,
},
}
`;