Thanos 介绍

发布时间: 更新时间: 总字数:665 阅读时间:2m 作者: IP上海 分享 网址

Thanos是一个具有长期存储功能的、开源的、高可用性的、兼容Prometheus的接口的监控系统,CNCF的孵化项目。

介绍

  • 发布地址:https://github.com/thanos-io/thanos/releases
  • 发布计划:https://thanos.io/tip/thanos/release-process.md/
  • 互动示例:https://killercoda.com/thanos

特点

  • 全局查询(Global Query View):跨多个 Prometheus 实例查询监控指标
  • 无限期保留(Unlimited Retention):使用 OSS 存储监控数据,object storage, like s3/aliyun oss/minio
  • 兼容 Prometheus(Prometheus Compatible):无缝对接 Grafana 等支持 Prometheus API 的客户端
  • 数据降准和压缩(Downsampling & Compaction):重复数据删除、压缩和合并
  • 高可用集群

架构

Deployment with Sidecar for Kubernetes

Sidecar 模式

thanos sidecar arch

图片载自

说明:

  • Sidecar:Thanos 的数据上传组件,用来和 Prometheus 通信,并且将 Prometheus 的监控数据上传到对象存储
  • Query:Thanos 的查询组件,用来查询监控数据
  • Store:Thanos 的数据存储组件,用来和对象存储通信,为对象存储提供数据代理服务
  • Receive:Thanos 的数据收取组件,支持 Prometheus 的远程写功能,对于同一个 Prometheus 实例,只能在 Sidecar 和 Receiver 中间二选一
  • Rule:Thanos 的集中的告警管理组件
  • Compactor:Thanos 的数据处理组件,用来将监控数据降准和压缩
  • Query Frontend:Thanos 的查询前端
  • tools:Thanos 的运维工具

Receive remote write compatible sources

Receive 数据接收模式

thanos receive arch

参考

  1. https://thanos.io/tip/thanos/getting-started.md/
Home Archives Categories Tags Statistics
本文总阅读量 次 本站总访问量 次 本站总访客数