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
10k
データルーター?Vector/Getting Started with Vector
watawuwu
6
1.1k
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
10
1.7k
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
技術スタックだけじゃない、業務ドメイン知識のオンボーディングも同じくらいの量が必要な話
niftycorp
PRO
0
100
RayでPHPのデバッグをちょっと快適にする
muno92
PRO
0
190
30→150人のエンジニア組織拡大に伴うアジャイル文化を醸成する役割と取り組みの変化
nagata03
0
170
AIエージェント元年@日本生成AIユーザ会
shukob
1
210
IoTシステム開発の複雑さを低減するための統合的アーキテクチャ
kentaro
1
100
生成AI “再”入門 2025年春@WIRED TUESDAY EDITOR'S LOUNGE
kajikent
0
100
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
3
6k
OSS構成管理ツールCMDBuildを使ったAWSリソース管理の自動化
satorufunai
0
640
クラウド食堂とは?
hiyanger
0
110
(機械学習システムでも) SLO から始める信頼性構築 - ゆる SRE#9 2025/02/21
daigo0927
0
270
OCI Success Journey OCIの何が評価されてる?疑問に答える事例セミナー(2025年2月実施)
oracle4engineer
PRO
2
140
Potential EM 制度を始めた理由、そして2年後にやめた理由 - EMConf JP 2025
hoyo
2
2.6k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Building Your Own Lightsaber
phodgson
104
6.2k
Docker and Python
trallard
44
3.3k
RailsConf 2023
tenderlove
29
1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
640
Building Flexible Design Systems
yeseniaperezcruz
328
38k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Automating Front-end Workflow
addyosmani
1368
200k
Code Review Best Practice
trishagee
67
18k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
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