Skip to content

Commit

Permalink
Fix alerts flyout stories
Browse files Browse the repository at this point in the history
  • Loading branch information
estermv committed Dec 20, 2021
1 parent 3b275ff commit ea97f04
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
ALERT_RULE_NAME,
ALERT_RULE_CATEGORY,
ALERT_RULE_PRODUCER,
ALERT_RULE_CONSUMER,
SPACE_IDS,
} from '@kbn/rule-data-utils/technical_field_names';
import {
ALERT_STATUS_ACTIVE,
Expand All @@ -29,6 +31,8 @@ export const apmAlertResponseExample = [
[ALERT_RULE_TYPE_ID]: ['apm.error_rate'],
'service.name': ['opbeans-java'],
[ALERT_RULE_NAME]: ['Error count threshold | opbeans-java (smith test)'],
[ALERT_RULE_CONSUMER]: ['apm'],
[SPACE_IDS]: ['default'],
[ALERT_DURATION]: [180057000],
[ALERT_STATUS]: [ALERT_STATUS_ACTIVE],
[ALERT_SEVERITY]: ['warning'],
Expand All @@ -49,6 +53,8 @@ export const apmAlertResponseExample = [
[ALERT_RULE_TYPE_ID]: ['apm.error_rate'],
'service.name': ['opbeans-java'],
[ALERT_RULE_NAME]: ['Error count threshold | opbeans-java (smith test)'],
[ALERT_RULE_CONSUMER]: ['apm'],
[SPACE_IDS]: ['default'],
[ALERT_DURATION]: [2419005000],
[ALERT_END]: ['2021-04-12T13:49:49.446Z'],
[ALERT_STATUS]: [ALERT_STATUS_RECOVERED],
Expand Down

0 comments on commit ea97f04

Please sign in to comment.