github.com/thanos-io/thanos@v0.32.5/mixin/rules/bucket-replicate.libsonnet (about)

     1  {
     2    local thanos = self,
     3    bucketReplicate+:: {
     4      selector: error 'must provide selector for Thanos Bucket Replicate dashboard',
     5    },
     6    prometheusRules+:: {
     7      groups+: if thanos.bucketReplicate == null then [] else [
     8        {
     9          name: 'thanos-bucket-replicate.rules',
    10          rules: [],
    11        },
    12      ],
    13    },
    14  }