Feature request: Loki alert rule tests #7655
Labels
component/logcli
help wanted
We would love help on these issues. Please come help us!
type/feature
Something new we should do
Is your feature request related to a problem? Please describe.
When making prometheus alert or recording rules, there's a system to test them. Making Loki alert or recording rules is frustrating since there's no clear testing system.
Describe the solution you'd like
I'd like a system for Loki that mirrors the prometheus system described at https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/.
Describe alternatives you've considered
Keeping things in prometheus as much as possible, so promtool test can be used. Making Loki recording rules only if possible.
Additional context
This could potentially be a loki tool, or some kind of cortextool extension?
The text was updated successfully, but these errors were encountered: