Commit 9ad2f307 authored by Ben Kochie's avatar Ben Kochie

Merge branch 'bjk/thanos-retention' into 'master'

Fix up Thanos compact flags

See merge request !445
parents 3a3a89b4 9898f4a0
Pipeline #53911158 passed with stages
in 4 minutes and 15 seconds
......@@ -28,7 +28,7 @@ GRAPH
zypper (>= 0.0.0)
compat_resource (12.19.1)
cpu (2.0.0)
gitlab-prometheus (1.0.4)
gitlab-prometheus (1.0.5)
accumulator (~> 0.2)
ark (~> 3.1)
chef-vault (~> 3.0)
......
......@@ -52,6 +52,9 @@ default["thanos-store"]["flags"]["chunk-pool-size"] = (node["memory"]["total"].t
default["thanos-compact"]["enable"] = false
default["thanos-compact"]["log_dir"] = "/var/log/prometheus/thanos-compact"
default["thanos-compact"]["flags"]["data-dir"] = "#{node['thanos']['dir']}/compact-data"
default["thanos-compact"]["flags"]["cluster.address"] = node["thanos"]["cluster-address"]
default["thanos-compact"]["flags"]["http-address"] = node["thanos"]["http-address"]
default["thanos-compact"]["flags"]["grpc-address"] = node["thanos"]["grpc-address"]
default["thanos-compact"]["flags"]["log.level"] = "debug"
default["thanos-compact"]["flags"]["retention.resolution-raw"] = "365d" # 1y
default["thanos-compact"]["flags"]["retention.resolution-5m"] = "1825d" # 5y
default["thanos-compact"]["flags"]["retention.resolution-1h"] = "0d" # Inf
default["thanos-compact"]["flags"]["wait"] = true # Run in daemon mode
......@@ -4,7 +4,7 @@ maintainer_email "ops-contact@gitlab.com"
license "All rights reserved"
description "Installs/Configures gitlab-monitoring"
long_description IO.read(File.join(File.dirname(__FILE__), "README.md"))
version "1.0.4"
version "1.0.5"
depends "accumulator", "~> 0.2"
depends "ark", "~> 3.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment