Skip to content

Commit

Permalink
thanos: bump to latest and add thanosPrometheusCommonDimensions
Browse files Browse the repository at this point in the history
This commit pulls latest changes from thanos mixins and sets `thanosPrometheusCommonDimensions`
to `namespace, pod` for k8s use case.

Refer thanos-io/thanos#4508 for more details.

Signed-off-by: Arunprasad Rajkumar <[email protected]>
  • Loading branch information
arajkumar committed Sep 27, 2021
1 parent 211e758 commit c5d265a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions jsonnet/kube-prometheus/components/prometheus.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function(params) {
targetGroups: {},
sidecar: {
selector: p._config.mixin._config.thanosSelector,
thanosPrometheusCommonDimensions: 'namespace, pod',
dimensions: std.join(', ', ['job', 'instance']),
},
},
Expand Down
4 changes: 2 additions & 2 deletions jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
"subdir": "mixin"
}
},
"version": "b894fd6537c8b445aa9d907867e492bb26cebcd5",
"sum": "X+060DnePPeN/87fgj0SrfxVitywTk8hZA9V4nHxl1g=",
"version": "b4b8434ca5a4a873762d73bf22fa4e0e1f43f6f1",
"sum": "Og+wEHfgzXBvBLAeeQvGNoiCw3FY4LQHlJdpsG/owj8=",
"name": "thanos-mixin"
},
{
Expand Down

0 comments on commit c5d265a

Please sign in to comment.