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
950
Thanosってどうですか?/Getting Started with Thanos
watawuwu
July 06, 2018
Tweet
Share
More Decks by watawuwu
See All by watawuwu
Prometheusでデータの水平分割を試みる/Let's split prometheus data
watawuwu
0
10k
データルーター?Vector/Getting Started with Vector
watawuwu
6
990
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
10
1.7k
Argo入門/Getting Started with Argo
watawuwu
0
1k
Concourse入門 / Concourse Getting Started
watawuwu
3
2.1k
Other Decks in Technology
See All in Technology
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
Matterport を使ってクラスメソッド各拠点のバーチャルオフィスツアーを作成してみた
wakatsuki
0
160
運用改善、不都合な真実 / 20240722-ssmjp-kaizen
opelab
17
8k
年間一億円削減した時系列データベースのアーキテクチャ改善~不確実性の高いプロジェクトへの挑戦~
lycorptech_jp
PRO
3
2.9k
[I/O Extended Android 2024] What`s new in Android 2024
kyeongwan
0
220
スレットハンティングについて知っておきたいこと
hacket
0
130
AOAI Dev Day - Opening Session
yoshidashingo
2
440
推薦システムを本番導入する上で一番優先すべきだったこと~NewsPicks記事推薦機能の改善事例を元に~
morinota
0
120
[NIKKEI Tech Talk]Bias for Action!! 実践から学ぶための仕組とコミュニティ / Community for Practice and Learning
kanamasa
0
270
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
750
AutomatedLabを使って内部ペンテストを勉強しよう! -やられ社内ネットワークの自動構築-
n_etupirka
1
610
Featured
See All Featured
How to Ace a Technical Interview
jacobian
274
23k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Adopting Sorbet at Scale
ufuk
71
8.8k
Designing Experiences People Love
moore
136
23k
It's Worth the Effort
3n
181
27k
The Invisible Customer
myddelton
117
13k
GraphQLの誤解/rethinking-graphql
sonatard
59
9.6k
The Power of CSS Pseudo Elements
geoffreycrofte
64
5.2k
Code Review Best Practice
trishagee
58
16k
Rails Girls Zürich Keynote
gr2m
93
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
25
6.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
26
2.1k
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