-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor config rule by taking inspiration on Prometheus alerting rule #136
Comments
It looks confusing to use
Even the
But Loki (LogQL) is based on queries, it can be confusing as So, i'm not sure about theses but if it's ok for you, it's ok for me 😃 Templating can also be inspired:
There are some fields we could get inspired but the problem is that they use snake_case while we use camelCase: group_wait: 0s
group_interval: 1m
repeat_interval: 1h Maybe there is something to do getting inspiration from theses fields
|
|
Throttle, use CompositeRules, use {
"compositeRules": {
"threshold": {
"rules": {
"trigerredCount": 5,
...
},
"alerts": {
"count": 20
}
}
} |
I think we need to analyze Prometheus Alerting rule template and take inspiration.
The goal is be a bit closer to what the ecosystem already provide (so people are not lost if they use Loki Ruler or Prometheus alerting).
expr
instead of logqlfor
for duration interval?The text was updated successfully, but these errors were encountered: