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

[FEATURE] Return alert value information in bucket level ctx for notification messages #1300

Closed
AWSHurneyt opened this issue Nov 10, 2023 · 1 comment
Labels
enhancement New feature or request untriaged

Comments

@AWSHurneyt
Copy link
Collaborator

Is your feature request related to a problem?
Currently, alerts do not expose the value that triggered the trigger condition in the asTemplateArgs function. This prevents notification messages from including that info.

For example, if a bucket monitor is configured to query an index with the following type of document, and generate an alert when the value field is < 50, we cannot currently include that triggering value in the notification body.

POST test-index-1/_doc?pipeline=test-timestamp
{
  "name": "Thomas",
  "value": 10
}

What solution would you like?
Expose the triggering value in the ctx of alerts. This information can be helpful for consumers of notifications for determining what actions to take to resolve an alert.

Additional context
Related issue #1299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
None yet
Development

No branches or pull requests

1 participant