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
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
11k
データルーター?Vector/Getting Started with Vector
watawuwu
6
1.1k
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
10
1.8k
Argo入門/Getting Started with Argo
watawuwu
0
1.1k
Concourse入門 / Concourse Getting Started
watawuwu
3
2.2k
Other Decks in Technology
See All in Technology
データ戦略部門 紹介資料
sansan33
PRO
1
3.1k
FastMCPでSQLをチェックしてくれるMCPサーバーを自作してCursorから動かしてみた
nayuts
1
220
プロジェクトマネジメント実践論|現役エンジニアが語る!~チームでモノづくりをする時のコツとは?~
mixi_engineers
PRO
3
180
技術書典18結果報告
mutsumix
2
180
Javaアプリケーションの配布とパッケージング / Distribution and packaging of Java applications
hogelog
1
290
ゴリラ.vim #36 ~ Vim x SNS ~ スポンサーセッション
yasunori0418
1
360
DevOpsDays Taipei 2025 -- Creating Awesome Change in SmartNews!
martin_lover
0
160
金融システムをモダナイズするためのAmazon Elastic Kubernetes Service(EKS)ノウハウ大全
daitak
0
130
オープンソースのハードウェアのコンテストに参加している話
iotengineer22
0
660
KMP導⼊において、マネジャーとして考えた事
sansantech
PRO
1
210
コードの考古学 〜労務システムから発掘した成長の糧〜
kenta_smarthr
1
1.2k
GigaViewerにおけるMackerel APM導入の裏側
7474
0
460
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
660
BBQ
matthewcrist
88
9.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
25
2.8k
Building Adaptive Systems
keathley
41
2.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
15
890
Adopting Sorbet at Scale
ufuk
76
9.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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