Impact of --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration (for Thanos)

1,572 views
Skip to first unread message

ssor...@whitepages.com

unread,
Jul 17, 2018, 5:41:49 PM7/17/18
to Prometheus Users
I am evaluating integrating Thanos [1] with our Prometheus clusters. The Thanos documentation states: "The --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration must be set to equal values. The default of 2h is recommended." [2]

We don't currently set those flags for our Prometheus instances. Are there any issues with adding these flags for an existing production Prometheus instance, or removing the flags after they have been added? I see recommendations in the Prometheus issue tracker against adjusting those flags. [3][4] We are using --storage.tsdb.retention=720h.

[1] https://github.com/improbable-eng/thanos

--
Svend Sorensen

Brian Brazil

unread,
Jul 17, 2018, 10:56:12 PM7/17/18
to ssor...@whitepages.com, Prometheus Users
On 17 July 2018 at 22:41, <ssor...@whitepages.com> wrote:
I am evaluating integrating Thanos [1] with our Prometheus clusters. The Thanos documentation states: "The --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration must be set to equal values. The default of 2h is recommended." [2]

We don't currently set those flags for our Prometheus instances. Are there any issues with adding these flags for an existing production Prometheus instance, or removing the flags after they have been added? I see recommendations in the Prometheus issue tracker against adjusting those flags. [3][4] We are using --storage.tsdb.retention=720h.

From a Prometheus standpoint these settings exist entirely for our own loadtesting, and should not be changed by users.

Brian
 

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/4ea2677c-c7b4-4488-9092-97d2a6fe63e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages