-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Synthetics] Maintenance windows !! #222174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3653339 to
4b97d5c
Compare
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
Project deployed, see credentials at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/475 |
0140e4d to
65e7a61
Compare
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
...gins/synthetics/public/apps/synthetics/components/common/mws_callout/monitor_mws_callout.tsx
Outdated
Show resolved
Hide resolved
...gins/synthetics/public/apps/synthetics/components/common/mws_callout/monitor_mws_callout.tsx
Outdated
Show resolved
Hide resolved
...ins/synthetics/public/apps/synthetics/components/common/mws_callout/monitors_mws_callout.tsx
Outdated
Show resolved
Hide resolved
...ins/synthetics/public/apps/synthetics/components/common/mws_callout/monitors_mws_callout.tsx
Outdated
Show resolved
Hide resolved
...ps/synthetics/components/monitor_add_edit/fields/maintenance_windows/maintenance_windows.tsx
Outdated
Show resolved
Hide resolved
...lugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview_page.tsx
Outdated
Show resolved
Hide resolved
...observability/plugins/synthetics/public/apps/synthetics/state/maintenance_windows/effects.ts
Outdated
Show resolved
Hide resolved
...ns/observability/plugins/synthetics/server/synthetics_service/formatters/formatting_utils.ts
Show resolved
Hide resolved
...nthetics/server/synthetics_service/formatters/private_formatters/format_synthetics_policy.ts
Show resolved
Hide resolved
.../plugins/synthetics/server/synthetics_service/formatters/public_formatters/format_configs.ts
Show resolved
Hide resolved
|
/oblt-deploy |
cesco-f
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still have a couple of unresolved conversations but in general LGTM.
… src/core/server/integration_tests/ci_checks'
Bamieh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Core changes LGTM (new saved object property for maintenance_windows keyword )
|
Please don't merge, I approved initially (that's why the merge button is enabled) but I removed that approval. response-ops still needs to review |
@jcger do you have any feedback for the PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed offline all of the implications with this approach, and the o11y team is aware of them. As we decided, we will move forward with the feature, and O11y will be responsible for any future work or migration needed regarding the upcoming MW enhancements. Thanks for your patience!
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Saved Objects .kibana field count
History
cc @cesco-f |
|
Starting backport for target branches: 8.19 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary fixes elastic#211540 User will be able to choose maintenance window in the form <img width="1723" alt="image" src="https://github.com/user-attachments/assets/c4d75aff-687f-40d3-a614-160e99ce9ac2" /> A callout will be displayed on the form <img width="1728" alt="image" src="https://github.com/user-attachments/assets/124727bd-0bb6-4934-9406-a36c3584670a" /> ### Task manager When changes are made to maintenance windows, those are sync via task manager to private location monitors, public location monitors are automatically synced as well in already existing task. ### Testing Create a maintenance window in stack management UI, apply it to monitor, make sure, it never runs during maintenance window. --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit b991e82) # Conflicts: # x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_summary.tsx # x-pack/solutions/observability/plugins/synthetics/tsconfig.json # x-pack/test/api_integration/deployment_agnostic/apis/observability/synthetics/sample_data/test_project_monitor_policy.ts
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `8.19`: - [[Synthetics] Maintenance windows !! (#222174)](#222174) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-19T15:49:29Z","message":"[Synthetics] Maintenance windows !! (#222174)\n\n## Summary\n\nfixes https://github.com/elastic/kibana/issues/211540\n\nUser will be able to choose maintenance window in the form \n\n<img width=\"1723\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c4d75aff-687f-40d3-a614-160e99ce9ac2\"\n/>\n\nA callout will be displayed on the form \n<img width=\"1728\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/124727bd-0bb6-4934-9406-a36c3584670a\"\n/>\n\n\n### Task manager \nWhen changes are made to maintenance windows, those are sync via task\nmanager to private location monitors, public location monitors are\nautomatically synced as well in already existing task.\n\n\n### Testing\n\nCreate a maintenance window in stack management UI, apply it to monitor,\nmake sure, it never runs during maintenance window.\n\n---------\n\nCo-authored-by: kibanamachine <[email protected]>","sha":"b991e82700c2eb28d03d1549b8215abb4b4fce1d","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:feature","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0","author:obs-ux-management"],"title":"[Synthetics] Maintenance windows !!","number":222174,"url":"https://github.com/elastic/kibana/pull/222174","mergeCommit":{"message":"[Synthetics] Maintenance windows !! (#222174)\n\n## Summary\n\nfixes https://github.com/elastic/kibana/issues/211540\n\nUser will be able to choose maintenance window in the form \n\n<img width=\"1723\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c4d75aff-687f-40d3-a614-160e99ce9ac2\"\n/>\n\nA callout will be displayed on the form \n<img width=\"1728\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/124727bd-0bb6-4934-9406-a36c3584670a\"\n/>\n\n\n### Task manager \nWhen changes are made to maintenance windows, those are sync via task\nmanager to private location monitors, public location monitors are\nautomatically synced as well in already existing task.\n\n\n### Testing\n\nCreate a maintenance window in stack management UI, apply it to monitor,\nmake sure, it never runs during maintenance window.\n\n---------\n\nCo-authored-by: kibanamachine <[email protected]>","sha":"b991e82700c2eb28d03d1549b8215abb4b4fce1d"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222174","number":222174,"mergeCommit":{"message":"[Synthetics] Maintenance windows !! (#222174)\n\n## Summary\n\nfixes https://github.com/elastic/kibana/issues/211540\n\nUser will be able to choose maintenance window in the form \n\n<img width=\"1723\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c4d75aff-687f-40d3-a614-160e99ce9ac2\"\n/>\n\nA callout will be displayed on the form \n<img width=\"1728\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/124727bd-0bb6-4934-9406-a36c3584670a\"\n/>\n\n\n### Task manager \nWhen changes are made to maintenance windows, those are sync via task\nmanager to private location monitors, public location monitors are\nautomatically synced as well in already existing task.\n\n\n### Testing\n\nCreate a maintenance window in stack management UI, apply it to monitor,\nmake sure, it never runs during maintenance window.\n\n---------\n\nCo-authored-by: kibanamachine <[email protected]>","sha":"b991e82700c2eb28d03d1549b8215abb4b4fce1d"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
## Summary fixes elastic#211540 User will be able to choose maintenance window in the form <img width="1723" alt="image" src="https://github.com/user-attachments/assets/c4d75aff-687f-40d3-a614-160e99ce9ac2" /> A callout will be displayed on the form <img width="1728" alt="image" src="https://github.com/user-attachments/assets/124727bd-0bb6-4934-9406-a36c3584670a" /> ### Task manager When changes are made to maintenance windows, those are sync via task manager to private location monitors, public location monitors are automatically synced as well in already existing task. ### Testing Create a maintenance window in stack management UI, apply it to monitor, make sure, it never runs during maintenance window. --------- Co-authored-by: kibanamachine <[email protected]>
Summary
fixes #211540
User will be able to choose maintenance window in the form
A callout will be displayed on the form

Task manager
When changes are made to maintenance windows, those are sync via task manager to private location monitors, public location monitors are automatically synced as well in already existing task.
Testing
Create a maintenance window in stack management UI, apply it to monitor, make sure, it never runs during maintenance window.