diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index 2736796344..6ee18196c7 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -59,6 +59,7 @@ function(params) { targetGroups: {}, sidecar: { selector: p._config.mixin._config.thanosSelector, + thanosPrometheusCommonDimensions: 'namespace, pod', dimensions: std.join(', ', ['job', 'instance']), }, }, diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json index f030d06d9e..2ab151e38d 100644 --- a/jsonnetfile.lock.json +++ b/jsonnetfile.lock.json @@ -141,8 +141,8 @@ "subdir": "mixin" } }, - "version": "b894fd6537c8b445aa9d907867e492bb26cebcd5", - "sum": "X+060DnePPeN/87fgj0SrfxVitywTk8hZA9V4nHxl1g=", + "version": "b4b8434ca5a4a873762d73bf22fa4e0e1f43f6f1", + "sum": "Og+wEHfgzXBvBLAeeQvGNoiCw3FY4LQHlJdpsG/owj8=", "name": "thanos-mixin" }, {