Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Getting Started with Thanos
Slide 2
Slide 2 text
profile: name: Wataru Matsui orz: [ zlab.co.jp, 3bi.tech ] twitter: @watawuwu role: [ Server, Infra, SRE ]
Slide 3
Slide 3 text
Agenda ⊸ What’s Thanos ⊸ Why try Thanos & Key features ⊸ Design ⊸ Demo ⊸ Conclusions
Slide 4
Slide 4 text
What’s Thanos?
Slide 5
Slide 5 text
HA metric system with unlimited storage capacity for
Slide 6
Slide 6 text
What’s Prometheus
Slide 7
Slide 7 text
Monitoring system & time series database (時間が少ないので省略)
Slide 8
Slide 8 text
Why try Thanos? And Key Features
Slide 9
Slide 9 text
メトリクスデータを オブジェクトストレージ に保存できる Why try Thanos? POINT!! Reliable metrics data storage
Slide 10
Slide 10 text
複数Prometheusの メトリクスデータを マージし閲覧できる Why try Thanos? Global view POINT!!
Slide 11
Slide 11 text
ロングタームなクエリの応答性を維持 するため、メトリクスデータをダウンサ ンプリング Why try Thanos? Downsampling
Slide 12
Slide 12 text
依存コンポーネントが少なく 既存のPrometheus環境に 追加することが簡単 Why try Thanos? Seamless integration
Slide 13
Slide 13 text
Design
Slide 14
Slide 14 text
Querier(Thanos) Prometheus targets Sidecar(Thanos) Prometheus Sidecar(Thanos) targets targets targets Merge & Deduplicate targets targets targets targets Global view HTTP API
Slide 15
Slide 15 text
SSD Prometheus Sidecar(Thanos) targets targets targets Blocks targets targets targets Blocks Blocks targets targets targets Blocks targets targets targets Blocks Unlimited retention! Write
Slide 16
Slide 16 text
Unlimited retention! Read targets targets targets Blocks Cache Store(Thanos) targets targets targets Blocks Querier(Thanos) Store API
Slide 17
Slide 17 text
targets targets targets Blocks Disk Compactor(Thanos) targets targets targets Blocks Compaction & Downsampling Blocks Blocks
Slide 18
Slide 18 text
targets targets targets Blocks Querier(Thanos) Prometheus Sidecar(Thanos) Full Architecture Store(Thanos) Compactor(Thanos)
Slide 19
Slide 19 text
Use Case
Slide 20
Slide 20 text
Only Backup Disk Prometheus Sidecar(Thanos) targets targets targets Blocks targets targets targets Blocks Blocks targets targets targets Blocks targets targets targets Blocks
Slide 21
Slide 21 text
Querier(Thanos) Prometheus Sidecar(Thanos) Prometheus Sidecar(Thanos) HA or Aggregate
Slide 22
Slide 22 text
targets targets targets Blocks Querier(Thanos) Prometheus Sidecar(Thanos) All Store(Thanos) Compactor(Thanos)
Slide 23
Slide 23 text
Demo
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
Notice
Slide 26
Slide 26 text
Prometheus >= v2.0.0 可能であればv2.2.1
Slide 27
Slide 27 text
Conclusions
Slide 28
Slide 28 text
2018/07/04時点 Thanos has no official releases yet
Slide 29
Slide 29 text
まだまだ動作検証中! (カジュアルに使う分には問題ない)
Slide 30
Slide 30 text
導入前には本当に長期間の保存 が必要か確認!? ● 不要なデータを削減 ● スクラップ間隔と保存期間を見直す ● KPIデータは別のストレージを検討 ● 古いデータの価値(YAGNI) 場合によってはPrometheusだけでも十分!
Slide 31
Slide 31 text
Thanks! WE ARE HIRING!! Kubernetes, Cloud Native zlab.co.jp