Skip to content

Commit

Permalink
filter o11y rule aggregations (#131301)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota authored May 3, 2022
1 parent d3ac9aa commit 6a6d202
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import {
import './styles.scss';
import { AlertsStatusFilter, AlertsDisclaimer, AlertsSearchBar } from '../../components';
import { ObservabilityAppServices } from '../../../../application/types';
import { OBSERVABILITY_RULE_TYPES } from '../../../rules/config';

interface RuleStatsState {
total: number;
Expand Down Expand Up @@ -115,6 +116,7 @@ function AlertsPage() {
try {
const response = await loadRuleAggregations({
http,
typesFilter: OBSERVABILITY_RULE_TYPES,
});
const { ruleExecutionStatus, ruleMutedStatus, ruleEnabledStatus, ruleSnoozedStatus } =
response;
Expand Down

0 comments on commit 6a6d202

Please sign in to comment.