-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Improve alert indexing and search #1202
Comments
Questionable whether we should use it 1 to 1 or just as a concept, but yes I think the concept of the inverted index would work nicely, there are other questions of how to populate it efficiently and remove alerts efficiently as well though as don't have the same expectations as TSDB in terms of "immutability" of historic data. |
#GSOC-2018 |
The problem is that Alertmanager currently holds the alerts ingested simply in a map, and when the frontend or anything using the API wants to filter something, then Alertmanager filters them naively in the HTTP handlers, whereas we should be able to index the alerts more precisely in order to not have to iterate over the entire set of alerts currently in memory. |
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
From @brancz
Further, I remember discussion of using the TSDB inverted index to do this.
The text was updated successfully, but these errors were encountered: