Skip to content

Commit

Permalink
Merge branch '8.15' into update-bundled-packages-20241022174825
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Oct 23, 2024
2 parents 7345525 + 10dce92 commit 36daebf
Show file tree
Hide file tree
Showing 3 changed files with 927 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ export enum ApmRuleType {
TransactionDuration = 'apm.transaction_duration',
Anomaly = 'apm.anomaly',
}

export const SYNTHETICS_STATUS_RULE = 'xpack.synthetics.alerts.monitorStatus';
export const SYNTHETICS_TLS_RULE = 'xpack.synthetics.alerts.tls';
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ import {
METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID,
OBSERVABILITY_THRESHOLD_RULE_TYPE_ID,
SLO_BURN_RATE_RULE_TYPE_ID,
SYNTHETICS_STATUS_RULE,
SYNTHETICS_TLS_RULE,
} from '@kbn/rule-data-utils';
import { RuleRegistryPluginSetupContract } from '@kbn/rule-registry-plugin/server';
import { SharePluginSetup } from '@kbn/share-plugin/server';
Expand Down Expand Up @@ -82,6 +84,8 @@ const o11yRuleTypes = [
ML_ANOMALY_DETECTION_RULE_TYPE_ID,
METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID,
...Object.values(ApmRuleType),
SYNTHETICS_STATUS_RULE,
SYNTHETICS_TLS_RULE,
];

export class ObservabilityPlugin implements Plugin<ObservabilityPluginSetup> {
Expand Down
Loading

0 comments on commit 36daebf

Please sign in to comment.