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] Inventory Threshold rule does not honor "time unit" #122292

Closed
simianhacker opened this issue Jan 4, 2022 · 2 comments · Fixed by #122294
Closed

[Metrics UI] Inventory Threshold rule does not honor "time unit" #122292

simianhacker opened this issue Jan 4, 2022 · 2 comments · Fixed by #122294
Assignees
Labels
bug Fixes for quality problems that affect the customer experience 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

Comments

@simianhacker
Copy link
Member

Kibana version:
main

Elasticsearch version:
main

Original install method (e.g. download page, yum, from source, etc.):
source

Describe the bug:
When the user sets the "FOR LAST x units" the query for the Inventory Alerts defaults to 60s. This is due to the fact that we are not setting forceInterval on the timerange for getNodes.

Steps to reproduce:

  1. Index some Metricbeat data
  2. Create an inventory threshold alert that will trigger on 30 minutes of data
  3. Alert will fire on 60s

Expected behavior:
Honor the time unit.

@simianhacker simianhacker added the bug Fixes for quality problems that affect the customer experience label Jan 4, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 4, 2022
@simianhacker simianhacker self-assigned this Jan 4, 2022
@simianhacker simianhacker 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 labels Jan 4, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@nugroho-exp
Copy link

@simianhacker Will the fix be backported to 7.x? We have this issue in our 7.16.2 server.

Will the fix also resolve the stack alert issue below as it is quite annoying to get an alert for 1 minute CPU spike? #116128

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants