mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Synthetics] Show rules created in Obs Rules page !! (#197215)](https://github.com/elastic/kibana/pull/197215) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-10-23T11:22:24Z","message":"[Synthetics] Show rules created in Obs Rules page !! (#197215)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197071\r\n\r\n---------\r\n\r\nCo-authored-by: Christos Nasikas <christos.nasikas@elastic.co>","sha":"9c4e67c985cf917a3664151d427a4fcdef0563d6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-management"],"title":"[Synthetics] Show rules created in Obs Rules page !!","number":197215,"url":"https://github.com/elastic/kibana/pull/197215","mergeCommit":{"message":"[Synthetics] Show rules created in Obs Rules page !! (#197215)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197071\r\n\r\n---------\r\n\r\nCo-authored-by: Christos Nasikas <christos.nasikas@elastic.co>","sha":"9c4e67c985cf917a3664151d427a4fcdef0563d6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197215","number":197215,"mergeCommit":{"message":"[Synthetics] Show rules created in Obs Rules page !! (#197215)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197071\r\n\r\n---------\r\n\r\nCo-authored-by: Christos Nasikas <christos.nasikas@elastic.co>","sha":"9c4e67c985cf917a3664151d427a4fcdef0563d6"}}]}] BACKPORT--> Co-authored-by: Shahzad <shahzad31comp@gmail.com>
This commit is contained in:
parent
e083f4089b
commit
ce8ef51a59
3 changed files with 927 additions and 0 deletions
|
@ -20,3 +20,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';
|
||||
|
|
|
@ -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';
|
||||
|
@ -83,6 +85,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> {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue