Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.15] [Synthetics] default rules - honor cluster minimum rule interv…
…al (#191863) (#192580) # Backport This will backport the following commits from `main` to `8.15`: - [[Synthetics] default rules - honor cluster minimum rule interval (#191863)](#191863) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dominique Clarke","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-10T18:26:36Z","message":"[Synthetics] default rules - honor cluster minimum rule interval (#191863)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/191854\r\n\r\nUtilizes the cluster's minimum rule interval as the default rule\r\ninterval for Synthetics default rules.\r\n\r\n### Testing\r\n1. Start Kibana on main, navigate to Synthetics, and create a monitor.\r\nThis should auto create a Synthetics default alert.\r\n2. Check out this PR.\r\n3. Add the following to your Kibana yml\r\n```\r\nxpack.alerting.rules.minimumScheduleInterval.value: 3m\r\nxpack.alerting.rules.minimumScheduleInterval.enforce: true\r\n```\r\n3. Navigate to Synthetics settings and change one of the settings. For\r\nexample, you can add a default alert connector\r\n4. Navigate to the Manage Rules and confirm the new rule interval is 3m.","sha":"0fda881b76316852c3ad5daac530dc6d65539099","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0","v8.15.2"],"number":191863,"url":"https://github.com/elastic/kibana/pull/191863","mergeCommit":{"message":"[Synthetics] default rules - honor cluster minimum rule interval (#191863)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/191854\r\n\r\nUtilizes the cluster's minimum rule interval as the default rule\r\ninterval for Synthetics default rules.\r\n\r\n### Testing\r\n1. Start Kibana on main, navigate to Synthetics, and create a monitor.\r\nThis should auto create a Synthetics default alert.\r\n2. Check out this PR.\r\n3. Add the following to your Kibana yml\r\n```\r\nxpack.alerting.rules.minimumScheduleInterval.value: 3m\r\nxpack.alerting.rules.minimumScheduleInterval.enforce: true\r\n```\r\n3. Navigate to Synthetics settings and change one of the settings. For\r\nexample, you can add a default alert connector\r\n4. Navigate to the Manage Rules and confirm the new rule interval is 3m.","sha":"0fda881b76316852c3ad5daac530dc6d65539099"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191863","number":191863,"mergeCommit":{"message":"[Synthetics] default rules - honor cluster minimum rule interval (#191863)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/191854\r\n\r\nUtilizes the cluster's minimum rule interval as the default rule\r\ninterval for Synthetics default rules.\r\n\r\n### Testing\r\n1. Start Kibana on main, navigate to Synthetics, and create a monitor.\r\nThis should auto create a Synthetics default alert.\r\n2. Check out this PR.\r\n3. Add the following to your Kibana yml\r\n```\r\nxpack.alerting.rules.minimumScheduleInterval.value: 3m\r\nxpack.alerting.rules.minimumScheduleInterval.enforce: true\r\n```\r\n3. Navigate to Synthetics settings and change one of the settings. For\r\nexample, you can add a default alert connector\r\n4. Navigate to the Manage Rules and confirm the new rule interval is 3m.","sha":"0fda881b76316852c3ad5daac530dc6d65539099"}},{"branch":"8.15","label":"v8.15.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information