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] Support fetching bulk alerts for multiple monitors in get alerts API #587

Closed
eirsep opened this issue Oct 5, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@eirsep
Copy link
Member

eirsep commented Oct 5, 2022

Get alerts API in Alerting plugin supports fetching alerts for a given monitor id or fetches all alerts present in an index.

Some use cases would require fetching alerts for a given list of monitors rather than one.

In the current implementation this implies n calls to alerting plugin for n monitors which translates to n search requests.

We need to enhance the API to accept list of monitors and that way can boil it down to one search request.

@eirsep eirsep added enhancement New feature or request untriaged labels Oct 5, 2022
@eirsep
Copy link
Member Author

eirsep commented Oct 5, 2022

The only caveat to keep in mind is currently we can only fetch from one index.

@eirsep eirsep self-assigned this Oct 5, 2022
@eirsep eirsep removed the untriaged label Oct 5, 2022
@eirsep
Copy link
Member Author

eirsep commented Oct 5, 2022

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

No branches or pull requests

1 participant