Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Thanosってどうですか?/Getting Started with Thanos
Search
watawuwu
July 06, 2018
Technology
1.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thanosってどうですか?/Getting Started with Thanos
watawuwu
July 06, 2018
Transcript
31 slides
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
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.2k
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.4k
Other Decks in Technology
See All in Technology
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
920
蓄積をどう解釈すれば基盤整備に踏み出せるか — 10 年目のクラウドサインの場合
bengo4com
1
230
NutanixへのSSHアクセスの今後について
shadowhat
0
190
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
130
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
310
ESの実践知とAI時代の再評価 〜「暗黙の前提」を排除し開発の認知負荷を下げる〜 / Practical Event Sourcing in the AI Era: Removing Hidden Assumptions for Clarity
bitkey
PRO
0
150
GitHub Advanced Securityはどのようにセキュリティインシデントを防ぐのか
yuriemori
0
140
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
1
1.5k
Vite+に全部賭けろ
yamato0713
0
150
AIエージェントの認証がまとめて進化! ~pre:Inventで来た3つのアップデート~
minorun365
PRO
2
330
Go でトランザクション、どう書いてますか?
knwoop
2
680
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.3k
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
Building Adaptive Systems
keathley
44
3.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Fireside Chat
paigeccino
43
4.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
How to build a perfect <img>
jonoalderson
1
6.3k
Done Done
chrislema
187
17k
How GitHub (no longer) Works
holman
316
150k