Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Thanosってどうですか?/Getting Started with Thanos
Search
watawuwu
July 06, 2018
Technology
1.1k
1
Share
Thanosってどうですか?/Getting Started with Thanos
watawuwu
July 06, 2018
More Decks by watawuwu
See All by watawuwu
Prometheusでデータの水平分割を試みる/Let's split prometheus data
watawuwu
0
11k
データルーター?Vector/Getting Started with Vector
watawuwu
6
1.1k
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
10
1.9k
Argo入門/Getting Started with Argo
watawuwu
0
1.1k
Concourse入門 / Concourse Getting Started
watawuwu
3
2.3k
Other Decks in Technology
See All in Technology
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
16
8.3k
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
3
560
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
370
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
6
3k
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
700
大学生が本気でDatabricksを活用してDiscordサークルをデータ駆動させてみた
phantomjuju
1
330
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
340
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
680
GoとSIMDとWasmの今。
askua
3
480
Sony_KMP_Journey_KotlinConf2026
sony
2
210
AIを「創る」と「使う」の循環 — HRテックが実践するリアルなAI組織実装
taketo957
0
1k
「速く作る」から「正しく作る」へ ─ 生成AI時代の開発フロー改革の ロードマップと実行 ─
starfish719
0
5.5k
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Language of Interfaces
destraynor
162
27k
How to Ace a Technical Interview
jacobian
281
24k
Everyday Curiosity
cassininazir
0
220
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
330
Being A Developer After 40
akosma
91
590k
Un-Boring Meetings
codingconduct
0
300
How STYLIGHT went responsive
nonsquared
100
6.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
130
Transcript
Getting Started with Thanos
profile: name: Wataru Matsui orz: [ zlab.co.jp, 3bi.tech ] twitter:
@watawuwu role: [ Server, Infra, SRE ]
Agenda ⊸ What’s Thanos ⊸ Why try Thanos & Key
features ⊸ Design ⊸ Demo ⊸ Conclusions
What’s Thanos?
HA metric system with unlimited storage capacity for
What’s Prometheus
Monitoring system & time series database (時間が少ないので省略)
Why try Thanos? And Key Features
メトリクスデータを オブジェクトストレージ に保存できる Why try Thanos? POINT!! Reliable metrics data
storage
複数Prometheusの メトリクスデータを マージし閲覧できる Why try Thanos? Global view POINT!!
ロングタームなクエリの応答性を維持 するため、メトリクスデータをダウンサ ンプリング Why try Thanos? Downsampling
依存コンポーネントが少なく 既存のPrometheus環境に 追加することが簡単 Why try Thanos? Seamless integration
Design
Querier(Thanos) Prometheus targets Sidecar(Thanos) Prometheus Sidecar(Thanos) targets targets targets Merge
& Deduplicate targets targets targets targets Global view HTTP API
SSD Prometheus Sidecar(Thanos) targets targets targets Blocks targets targets targets
Blocks Blocks targets targets targets Blocks targets targets targets Blocks Unlimited retention! Write
Unlimited retention! Read targets targets targets Blocks Cache Store(Thanos) targets
targets targets Blocks Querier(Thanos) Store API
targets targets targets Blocks Disk Compactor(Thanos) targets targets targets Blocks
Compaction & Downsampling Blocks Blocks
targets targets targets Blocks Querier(Thanos) Prometheus Sidecar(Thanos) Full Architecture Store(Thanos)
Compactor(Thanos)
Use Case
Only Backup Disk Prometheus Sidecar(Thanos) targets targets targets Blocks targets
targets targets Blocks Blocks targets targets targets Blocks targets targets targets Blocks
Querier(Thanos) Prometheus Sidecar(Thanos) Prometheus Sidecar(Thanos) HA or Aggregate
targets targets targets Blocks Querier(Thanos) Prometheus Sidecar(Thanos) All Store(Thanos) Compactor(Thanos)
Demo
None
Notice
Prometheus >= v2.0.0 可能であればv2.2.1
Conclusions
2018/07/04時点 Thanos has no official releases yet
まだまだ動作検証中! (カジュアルに使う分には問題ない)
導入前には本当に長期間の保存 が必要か確認!? • 不要なデータを削減 • スクラップ間隔と保存期間を見直す • KPIデータは別のストレージを検討 • 古いデータの価値(YAGNI)
場合によってはPrometheusだけでも十分!
Thanks! WE ARE HIRING!! Kubernetes, Cloud Native zlab.co.jp