High-availability Prometheus with long-term storage and multi-cluster capabilities.
Highly available Prometheus setup with long term storage capabilities
thanosthanos-sidecarthanos-storethanos-querythanos-rulethanos-compactthanos-downsamplethanos-bucket$ thanos sidecar --tsdb.path=/prometheus --prometheus.url=http://localhost:9090 --objstore.config-file=objstore.yml$ thanos query --store=localhost:10901 --store=remote-cluster:10901 --web.listen-address=0.0.0.0:9090$ thanos store --data-dir=/var/thanos/store --objstore.config-file=objstore.yml --web.listen-address=0.0.0.0:10902$ thanos compact --data-dir=/var/thanos/compact --objstore.config-file=objstore.yml --consistency-delay=30m$ thanos rule --data-dir=/var/thanos/rule --eval-interval=30s --rule-file=rules.yml --objstore.config-file=objstore.yml