跳至主要内容

4 · 物件儲存

S3 · GCS · Azure Blob · MinIO(地端)

物件儲存bucket: mimir-blocksTSDB blocks · 每 2h 寫出bucket: tempo-tracesparquet blocksbucket: loki-chunkschunks + TSDB indexingesters + compactor 寫入store-gateways 讀取ingesters + compactor 寫入queriers 讀取ingesters + compactor 寫入queriers + index-gateway 讀取

Buckets

mimir-blocks bucket

所有 metric 資料的長期歸宿:TSDB blocks、每 block 的 index + chunks,加上 ruler 與 alertmanager 狀態。

  • 由 ingesters + compactor 寫入;由 store-gateways 讀取
  • 保留期由 compactor 執行,而非 bucket 生命週期
  • S3 / GCS / Azure Blob / MinIO — 任何 S3 相容儲存
protocolS3 API

tempo-traces bucket

所有 trace 資料,以帶 bloom filters 與 index 的 Parquet blocks 存放。Tempo 沒有其他資料庫。

  • 由 ingesters + compactor 寫入;由 queriers 讀取
  • 便宜:traces 寫出後 100% 常駐物件儲存
protocolS3 API

loki-chunks bucket

壓縮的 log chunks 加 TSDB index 檔。單一 bucket 同時提供資料與 index。

  • 由 ingesters 寫入;index 由 compactor 壓實
  • 由 queriers + index-gateway 讀取
protocolS3 API