Thanos: Three levels tutorial: Basic setup, Long Term Storage, Alerting.

Created on 19 Oct 2018  ·  10Comments  ·  Source: thanos-io/thanos

Hi all, I'm interested in building a 3 level setup tutorial on getting started with Thanos. Understanding all the components took me some time once I started evaluating Thanos, and I believe we can benefit from more adoption and contributors by making it easier for newcomers. Now that at my company we're handling an infrastructure with about 20 Prometheus and long term retention I feel I can contribute to that.

This would cover the 3 scenarios to deploy Thanos:

  1. Basic Setup - allows you to query against multiple Prometheus, without long term retention.
  2. Long term retention - allows you the same as the basic setup, but introduces block storage to increase your retention arbitrately, will cover compaction and bucket management.
  3. Alerting - allows you to alert against data from multiple Prometheus.

As a bonus, I'm planning on bringing new kubernetes manifests with statefulsets and deployment of all the resouces.

This would also allow to clean up the docs to remove references to gossip.

I'm already working on that and should have a PR early next week, if you have any comments please reach me.

Pros:

  • Will make Thanos easier for newcomers, understanding the multiple components is usually an issue for the ramp up.
  • Consolidate the getting started guide with current developments and do a much needed docs update;
  • Removes outdated references to deprecated concepts from docs that sometimes distract people.

Cons:

  • None? 🤷‍♀️
beer websitdocs feature request / improvement stale

Most helpful comment

I apologise for the delays, I'll find the time to develop this asap. Thanks
for the interest.

On Fri, Nov 23, 2018 at 6:40 AM wangchengxxxin notifications@github.com
wrote:

Cool while I do not make it clear after 1 day to set sidecar and query
within 2 Prometheus. Hope your PR.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/improbable-eng/thanos/issues/584#issuecomment-441180755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2fXDLTKiambrKbkWD6YAb0H1GZnOdzks5ux7RfgaJpZM4XvVQ7
.

All 10 comments

Cool and amazing.

That would be great, thanks!

Cool while I do not make it clear after 1 day to set sidecar and query within 2 Prometheus. Hope your PR.

I apologise for the delays, I'll find the time to develop this asap. Thanks
for the interest.

On Fri, Nov 23, 2018 at 6:40 AM wangchengxxxin notifications@github.com
wrote:

Cool while I do not make it clear after 1 day to set sidecar and query
within 2 Prometheus. Hope your PR.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/improbable-eng/thanos/issues/584#issuecomment-441180755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2fXDLTKiambrKbkWD6YAb0H1GZnOdzks5ux7RfgaJpZM4XvVQ7
.

That will be really helpful, as I'm struggling to set up long-term retention thing.

Perhaps this could be considered done as we have Katacoda tutorials, @bwplotka @jturolla? (: Ah, sorry, we don't have the whole thing but, I guess, we could focus our effort on that.

Sure, thanks.

On Mon, 4 Nov 2019 at 19:20, Giedrius Statkevičius notifications@github.com
wrote:

Perhaps this could be considered done as we have Katacoda tutorials,
@bwplotka https://github.com/bwplotka @jturolla
https://github.com/jturolla? (:


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/584?email_source=notifications&email_token=AAGZ6XBY2R2BDWAMRXVVZYLQSCN2BA5CNFSM4F55KQ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDA5KGA#issuecomment-549573912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGZ6XE75K3SZJXRZSHNOK3QSCN2BANCNFSM4F55KQ5Q
.

Now Katacoda tutorials cover basic setup, and docs cover long term storage and alerting.
@jturolla do you think they are enough, or maybe in a better place?

Yes, this should be solved with Katacoda tutorials. (:

On Thu, 9 Jan 2020 at 02:32, Xiang Dai notifications@github.com wrote:

Now Katacoda tutorials cover basic setup, and docs cover long term storage
and alerting.
@jturolla https://github.com/jturolla do you think they are enough, or
maybe in a better place?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/584?email_source=notifications&email_token=ABVA3O3CKQTO5PTASSOHYETQ42EFPA5CNFSM4F55KQ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIOW3OY#issuecomment-572353979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA3O7BXEZ5XOJFZD7UDO3Q42EFPANCNFSM4F55KQ5Q
.

This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings