-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[ResponseOps][MW] Maintenance Window oas documentation #212377
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
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.
There are missing descriptions that can be rectified in future PRs, but otherwise lgtm
Thanks for adding the automated docs!
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.
.buildkite/scripts/steps/checks/capture_oas_snapshot.sh
LGTM
- Added route tags - Small text changes
@lcawl I had to rebase this PR, could you please take another look? All routes are inside |
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --include-path /api/alerting/maintenance_window --update --no-serverless'
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --include-path /api/alerting/maintenance_window --update --no-serverless'
Here's a suggestion for changes to the
|
💔 Build Failed
Failed CI Steps
Test Failures
Metrics [docs]
History
|
For example, a maintenance window prevents false alarms during planned outages. | ||
externalDocs: | ||
description: Maintenance window documentation | ||
url: https://www.elastic.co/docs/explore-analyze/alerts-cases/alerts/maintenance-windows |
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.
Should we have a dedicated URL outside alerts? Like https://www.elastic.co/docs/explore-analyze/maintenance-windows.
I am not sure, tbh what this URL is about 🙂.
@@ -53,6 +53,7 @@ export const createMaintenanceWindowRoute = ( | |||
options: { | |||
access: 'public', | |||
summary: 'Create a maintenance window.', | |||
tags: ['oas-tag:alerting'], |
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 am sure you are aware, but a note to not forget to resolve the conflicts with the public APIs PR where we changed the tags.
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/alerting/maintenance_window --update --no-serverless'
Closes #198685 ## Summary This PR creates a public Maintenance Window API. The work was done on a feature branch over multiple separate PRs. Here we will merge the feature branch into `main`. - #209734 - #213694 - #214747 - #213771 The [documentation PR](#212377) still needs to be merged. ## Release Notes Publish new public APIs for the Maintenance Window. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: lcawl <lcawley@elastic.co>
…ic#216756) Closes elastic#198685 ## Summary This PR creates a public Maintenance Window API. The work was done on a feature branch over multiple separate PRs. Here we will merge the feature branch into `main`. - elastic#209734 - elastic#213694 - elastic#214747 - elastic#213771 The [documentation PR](elastic#212377) still needs to be merged. ## Release Notes Publish new public APIs for the Maintenance Window. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: lcawl <lcawley@elastic.co> (cherry picked from commit 08d0717) # Conflicts: # .buildkite/scripts/steps/checks/capture_oas_snapshot.sh # oas_docs/overlays/kibana.overlays.shared.yaml
Merging into a feature branch
Summary
I recently added a few public routes for managing maintenance windows. I will need to generate documentation for these routes for my' on week' task.
capture_oas_snapshot
to include/api/alerting/maintenance_window
tags
to the maintenance window routes