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

[Metrics UI] Require filterQuery to be ES JSON #64937

Merged
merged 7 commits into from
May 5, 2020

Conversation

Zacqary
Copy link
Contributor

@Zacqary Zacqary commented Apr 30, 2020

Summary

Closes #64832

Alert executor will now only accept filterQuery in a parseable Elasticsearch JSON format. It will validate it at creation time.

Checklist

@Zacqary Zacqary added Feature:Alerting 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 v7.7.1 v7.8.0 v8.0.0 labels Apr 30, 2020
@elasticmachine
Copy link
Contributor

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

@Zacqary Zacqary force-pushed the 64832-kql-handler-remove branch from 0afe09e to 518cee2 Compare April 30, 2020 20:09
@Zacqary Zacqary marked this pull request as ready for review May 4, 2020 16:29
@Zacqary Zacqary requested a review from a team as a code owner May 4, 2020 16:29
…-remove

# Conflicts:
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_alert_type.ts
#	x-pack/test/api_integration/apis/infra/metrics_alerting.ts
@simianhacker simianhacker self-assigned this May 4, 2020
@simianhacker simianhacker self-requested a review May 4, 2020 21:18
Copy link
Member

@simianhacker simianhacker left a comment

Choose a reason for hiding this comment

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

LGTM... I like how the validation takes care of the filter query, it's smart.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@Zacqary Zacqary merged commit add56be into elastic:master May 5, 2020
@Zacqary Zacqary deleted the 64832-kql-handler-remove branch May 5, 2020 15:33
Zacqary added a commit to Zacqary/kibana that referenced this pull request May 5, 2020
# Conflicts:
#	x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_alert_type.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_alert_type.ts
#	x-pack/test/api_integration/apis/infra/metrics_alerting.ts
Zacqary added a commit to Zacqary/kibana that referenced this pull request May 5, 2020
Zacqary added a commit that referenced this pull request May 6, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Feature:Metrics UI Metrics UI feature release_note:fix Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Metrics UI] Remove backend awareness of KQL from alert executor
4 participants