Skip to content
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

[Stack Monitoring] Rename alerts to rules #107654

Merged
merged 6 commits into from
Aug 10, 2021

Conversation

neptunian
Copy link
Contributor

@neptunian neptunian commented Aug 4, 2021

#107551

Changes many variables that reference what is now referred to as a rule to "rule" in accordance with recent terminology changes from Kibana Alerting. Some changes still refer to types called "Alerts" as described in the documentation that has not yet changed. I went ahead and changed some of these to "rule" but left others where I'm not sure if it will change. Once Alerting updates their types, we can update more of ours to reflect them. There are many components still referring to "alerts" instead of rules but I am hoping we can do this on a case by case basis as we work on them as it's not always so straightforward.

@neptunian neptunian added the release_note:skip Skip the PR/issue when compiling release notes label Aug 4, 2021
@neptunian neptunian self-assigned this Aug 4, 2021
@neptunian neptunian added Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v8.0.0 v7.15.0 labels Aug 4, 2021
@neptunian neptunian marked this pull request as ready for review August 5, 2021 13:36
@neptunian neptunian requested a review from a team as a code owner August 5, 2021 13:36
@neptunian neptunian requested review from a team August 5, 2021 13:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@neptunian
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
monitoring 729.4KB 729.5KB +56.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
monitoring 45.5KB 45.5KB -49.0B

History

  • 💚 Build #143094 succeeded 5bf1fcfcabad9361c0a1f9840ccfe60ae47b5117
  • 💚 Build #143090 succeeded 2dc19e1dd763bf6f5418ca744a659f1434aa3b20
  • 💚 Build #143062 succeeded 1772e8f90e846fa16870394e23dd9b6b9f3000a8
  • 💚 Build #142983 succeeded 15c76a80974a7232b0a4538bb88a8b4467e81f47

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @neptunian

@neptunian neptunian force-pushed the 107551-rename-alerts-to-rules branch from 77f9fb9 to 4f31267 Compare August 10, 2021 15:05
@phillipb phillipb assigned phillipb and unassigned phillipb Aug 10, 2021
@phillipb phillipb self-requested a review August 10, 2021 15:08
Copy link
Contributor

@phillipb phillipb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neptunian
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
monitoring 729.4KB 729.4KB +56.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
monitoring 45.5KB 45.4KB -49.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @neptunian

@neptunian neptunian merged commit bc25c0f into elastic:master Aug 10, 2021
neptunian added a commit to neptunian/kibana that referenced this pull request Aug 10, 2021
* rename constants and alert types to rules

* update test language

* update BaseRule properties to rule

* change rawAlert to sanitizedRule

Co-authored-by: Kibana Machine <[email protected]>
neptunian added a commit that referenced this pull request Aug 10, 2021
* rename constants and alert types to rules

* update test language

* update BaseRule properties to rule

* change rawAlert to sanitizedRule

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Stack Monitoring release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Team:Monitoring Stack Monitoring team v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants