Skip to content

[Metrics UI] Alerts fail when hitting the bucket limit #68492

@hendry-lim

Description

@hendry-lim

Maintainer Edit

  • Metric threshold/inventory alerts are unable to handle a Too Many Buckets exception within the alert executor.
  • Metric threshold queries sometimes override the range filter and query too much data, triggering a Too Many Buckets exception

Original Submitted Issue

Kibana version: 7.7.1

Elasticsearch version: 7.7.1

Server OS version: RHEL 8

Browser version: 83.0.4103.97

Browser OS version: Windows 10

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

Describe the bug:
Alert instances were not created with the following filter in Metric Threshold alert:
NOT host.name:dv* and NOT host.name:ts*

However, alert instances were created if we only used the following:
NOT host.name:dv*

There are other hosts that exceeded the memory threshold other than those that matched dv* and ts*.

Steps to reproduce:

  1. Create a Metric Threshold
  2. Condition: Average of system.memory.used.pct is above or equals 0.8
  3. For the last 5 minutes
  4. Filter: NOT host.name:dv* and NOT host.name:ts*
  5. Alert per host.name

Expected behavior:
Alert instances should be created with either/both filters applied as long as there are hosts that exceed the memory threshold.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Metrics UIMetrics UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesbugFixes for quality problems that affect the customer experiencetriage_needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions