api
api copied to clipboard
logs: re-introduce rules filtering for Prometheus API as this is still not supported by Loki
In https://github.com/observatorium/api/pull/578 we completely removed the filtering code and relied only on the query parameter for Loki to filter the rules. However, the filtering only works for the Loki API and not for the Prometheus API
Fixes https://issues.redhat.com/browse/LOG-6148