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

Allow specifiying data view/index pattern in Metric Threshold Alert #170477

Closed
henrikno opened this issue Nov 2, 2023 · 6 comments
Closed

Allow specifiying data view/index pattern in Metric Threshold Alert #170477

henrikno opened this issue Nov 2, 2023 · 6 comments
Labels
Feature:Alerting Team:obs-ux-management Observability Management User Experience Team

Comments

@henrikno
Copy link
Contributor

henrikno commented Nov 2, 2023

Describe the feature:
We need a way to specify data view or index pattern in Metric Threshold alerts.

Describe a specific use case for the feature:

This is important for two reasons:

  1. Performance. Currently you can only search metrics-*, but if you're creating an alert on CPU, searching just metrics-system.cpu-* is more efficient. This even more so with remote clusters/CCS.
  2. The disconnect between configuring the alert, and the index it's searching makes configuring this difficult and unintuitive. For instance this means that an alert can suddenly break because someone updated the setting, not knowing that other alerts depend on it. Also there isn't a documented API to manage this, so it might differ between environments, so it might work one cluster, but if you recreate the exact same alert on another, or export/import it, it doesn't work.
@henrikno henrikno added Feature:Alerting Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" labels Nov 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@paulb-elastic paulb-elastic added the Team:obs-ux-management Observability Management User Experience Team label Nov 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@maryam-saeidi
Copy link
Member

We are working on a new rule called Custom threshold released under Technical Review in v8.11. We plan to deprecate the Metric threshold in favor of the new rule when it is GA.

@paulb-elastic paulb-elastic removed the Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" label Nov 14, 2023
@paulb-elastic
Copy link
Contributor

@henrikno are you able to try this out with the current Custom Threshold Rule now, as we're not intending to extend the metric threshold rule any more?

@paulb-elastic
Copy link
Contributor

@henrikno have you been able to confirm this?

@paulb-elastic
Copy link
Contributor

@henrikno closing this as you should be able to do this in Custom Threshold rule. Please re-open or let us know if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants