Thanos rule
This component allows you to run Prometheus-compatible rules (recording/alerting) against remote query endpoints, such as Thanos querier or sidecar. It exposes a StoreAPI endpoint to make the results of rule evaluations available, which are stored in local blocks, and can also ship these TSDB blocks to object storage. It's tempting to imagine using this component as a solution for the centralized management of rules instead of spreading them across multiple Prometheus instances, but that's not its purpose and would be ill-advised. Throughout this book, we have stressed how critical rules are, especially for alerting. We also underlined the importance of running those rules locally in the Prometheus instance that has the required ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access