Skip to content

Commit 48ed687

Browse files
committed
Rename views to $.alerting-* following the convention.
1 parent e9fc958 commit 48ed687

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

x-pack/platform/plugins/shared/alerting_v2/server/esql_views/alert_actions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import type { EsqlViewDefinition } from '../lib/services/esql_views_service/types';
99

1010
export const getAlertActionsViewDefinition = (): EsqlViewDefinition => ({
11-
key: 'view:alert-actions',
12-
name: 'alerts-actions',
13-
query: 'FROM .alerts-actions',
11+
key: 'view:alerting-actions',
12+
name: '$.alerting-actions',
13+
query: 'FROM .alerting-actions',
1414
});

x-pack/platform/plugins/shared/alerting_v2/server/esql_views/alert_events.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import type { EsqlViewDefinition } from '../lib/services/esql_views_service/types';
99

1010
export const getAlertEventsViewDefinition = (): EsqlViewDefinition => ({
11-
key: 'view:alert-events',
12-
name: 'alerts-events',
13-
query: 'FROM .alerts-events',
11+
key: 'view:alerting-events',
12+
name: '$.alerting-events',
13+
query: 'FROM .alerting-events',
1414
});

0 commit comments

Comments
 (0)