Skip to content
Snippets Groups Projects
Unverified Commit ce7e86b9 authored by paulfantom's avatar paulfantom
Browse files

jsonnet/kube-prometheus: fix usage of latest thanos mixin

parent ddfadbad
Branches
Tags
No related merge requests found
......@@ -53,8 +53,10 @@ function(params) {
(import 'github.com/kubernetes-monitoring/kubernetes-mixin/alerts/add-runbook-links.libsonnet') + (
if p._config.thanos != {} then
(import 'github.com/thanos-io/thanos/mixin/alerts/sidecar.libsonnet') + {
targetGroups: {},
sidecar: {
selector: p._config.mixin._config.thanosSelector,
dimensions: std.join(', ', ['job', 'instance']),
},
}
else {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment