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

Plans to support alerts based on log lines? #83

Closed
tboerger opened this issue Mar 27, 2018 · 4 comments
Closed

Plans to support alerts based on log lines? #83

tboerger opened this issue Mar 27, 2018 · 4 comments

Comments

@tboerger
Copy link

Hi,

are there any plans to support alerts based on log lines and maybe some search pattern?

That would be really useful :)

@diafour
Copy link
Contributor

diafour commented Mar 27, 2018

#74 is exactly your case.

@tboerger
Copy link
Author

#74 is exactly your case.

Not directly, since prometheus can only use numeric values you can get a bare alert without any useful context or any kind of url to a loghouse query to get more information. So IMHO this is a more or less different use case.

@diafour
Copy link
Contributor

diafour commented Mar 27, 2018

Url can be passed as label as a workaround. Nevertheless alerting should be done differently.

Alerting can be implemented like this after resolution #74

Clickhouse
↓  result of the query
Loghuose
↓  values of metrics
Prometheus
↓  query prometheus db, check for threshold values, send alert message
Alertmanager
↓  send alerts

This process is complicated. We can implement alerting and metrics independently of one another. Alerting process will be like this:

Clickhouse
↓  result of the query
Loghouse
↓  check for threshold value, send alert message
Alertmanager
↓  send alerts

This should be faster and users will not have "only numeric values" restriction.

@may-cat @qw1mb0 @gsmetal FYI

@tboerger
Copy link
Author

tboerger commented Aug 2, 2018

Closing this since I'm not using loghouse anymore.

@tboerger tboerger closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants