我跟随这个博客https://rancher.com/blog/2020/prometheus-metric-federation在我们的库伯奈特建立了萨诺斯。
我们在集群A中只包含- Thanos接收器、Thanos商店和Thanos查询。
每2小时成功地在S3中加载数据块。但是,当我们指定Grafana仪表板使用Thanos查询时,如果在10分钟(或少于2小时)范围内查询,则不会显示数据结果。但是查询时间范围为2小时及以上的数据时,会显示数据。
Thanos是否可以从Thanos接收器(普罗米修斯)查询实时数据?这是我对Thanos部署的配置(如下),我是否错过了任何配置?
containers:
- args:
- query
- --log.level=info
- --grpc-address=0.0.0.0:10901
- --http-address=0.0.0.0:9090
- --query.replica-label=prometheus_replica
- --query.replica-label=rule_replica
- --store=dnssrv+_grpc._tcp.thanos-store.thanos.svc.cluster.local
image: quay.io/thanos/thanos:v0.15.0

发布于 2020-09-22 14:36:36
是的,Thanos查询可以从Thanos接收到实时数据.接收的Thanos文件索赔:
它公开了StoreAPI,以便能够实时查询接收到的指标。
只需在查询调用中添加另一个-存储选项,以指向thanos-接收gRPC端口即可。
https://stackoverflow.com/questions/64009074
复制相似问题