Thanos Compactor Multiple Running warning
No more than one Thanos Compact instance should be running at once. There are {{$value}} instances running.
>>>
sum by (job) (
{job=~".*thanos-compact.*"}) > 1
The query counts (sum) all targets with up=1 whose job label matches the regex .*thanos-compact.* and groups the total by job; if this sum exceeds 1, i.e., more than one Thanos Compact instance is up, the alert fires. In other words, the alert triggers whenever two or more Thanos Compact processes are reported as running concurrently.
Get Alert✕
Download
Copy to Clipboard