夜莺采用thanos如何配置数据源
#1262
-
Beta Was this translation helpful? Give feedback.
Answered by
UlricQin
Nov 10, 2022
Replies: 2 comments 1 reply
-
类似于1229的问题,我希望的是能用thanos作为数据源在夜莺上做图形展示和告警 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanos是可以的,常见时序数据库配置示例(兼容 Prometheus 查询 API):
Prometheus有个查询接口是 # Prometheus
curl -s http://ip:9090/api/v1/label/__name__/values
# Thanos
curl -s http://ip:19192/api/v1/label/__name__/values
# VictoriaMetrics
curl -s http://{vmselect}:8481/select/0/prometheus/api/v1/label/__name__/values
# M3DB
curl -s http://ip:7201/api/v1/label/__name__/values
# SLS
curl -s https://{project}.{sls-enpoint}/prometheus/{project}/{metricstore}/api/v1/label/__name__/values |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
594872799
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanos是可以的,常见时序数据库配置示例(兼容 Prometheus 查询 API):
Prometheus有个查询接口是
/api/v1/label/__name__/values
这些时序库都是兼容Prometheus查询接口的,所以也应该支持这个接口,所以,使用下面这些地址用curl命令做一下验证,如果没问题就可以配置到夜莺里了: