Skip to content

Conversation

@Zacqary
Copy link
Contributor

@Zacqary Zacqary commented Mar 2, 2021

Summary

Resolves a bug uncovered in #92665

Each expression row in Metrics alert types are passed a setAlertParams function that's supposed to take all of an alert condition's required parameters as input. The underlying function was overcorrecting for this, and applying a spread operator of the pre-existing parameters. This effectively made it impossible to remove optional parameters.

@Zacqary Zacqary added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v7.13.0 labels Mar 2, 2021
@Zacqary Zacqary requested a review from a team as a code owner March 2, 2021 22:50
@elasticmachine
Copy link
Contributor

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

@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
infra 1.9MB 1.9MB -32.0B
triggersActionsUi 1.6MB 1.5MB -23.9KB
total -23.9KB

Page load bundle

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

id before after diff
triggersActionsUi 104.0KB 104.1KB +82.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 41 42 +1

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Metrics UI Metrics UI feature 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 v7.12.0 v7.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants