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

[Alerting] default message for index threshold includes both threshold values even if not used #60044

Closed
pmuellr opened this issue Mar 12, 2020 · 1 comment · Fixed by #60545
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.7.0

Comments

@pmuellr
Copy link
Member

pmuellr commented Mar 12, 2020

I'm seeing the following message get generated using the {{{context.message}}} variable from the index threshold alert:

alert cpu usage group host-C value 50 exceeded threshold count < 100,5000 over 50s on 2020-03-12T17:35:25.892Z

Note the comparator here - < - only needs the first threshold value, but both are printed - 100,5000. It should just be printing 100.

It's probably easiest to fix this in the alertType message variable generator, as it's kind of nice to persist that 2nd value if the customer switches between a comparator that just needs one value (most of them) and one that needs two (between, notbetween).

@pmuellr pmuellr added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Mar 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@mikecote mikecote added the bug Fixes for quality problems that affect the customer experience label Mar 16, 2020
@YulNaumenko YulNaumenko self-assigned this Mar 17, 2020
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
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:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants