we are looking into below problem statement , could any suggest options to achieve this.
How to build the rules file automatically as per resource type thresholds if end user
provides the resource, metric and interval to check.
Example: If we provide the Metric - CPU
Threshold - 90
interval - 10 mins for particular VM/product.
it should create rule in prometheus/thanos rule file automatically.
This will hep the end user to not worry about the write the rules logic /code?
Same mechanism for alert manager - configurations for silence, group and external routes can be modified automatically with some interface ?
Any suggests /links/leads helps us alot
Regards,
Venkat.