导入Grafana仪表板-Label_values不适合使用InfluxDB
我找到了可弹性的不错的Grafana仪表板4J指标: https:/ -1
问题是我正在使用InfluxDB数据源,但仪表板是为Prometheus创建的。
进口后我会遇到错误:
Templating [application]
Error updating options: InfluxDB Error: error parsing query: found label_values, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
我正在寻找解决方案,但我是Grafana和Infuxdb的新手,我迷路了。您能以某种方式指导我,如何适应仪表板,以便与InfluxDB一起使用?
I found nice Grafana dashboard for Resilience4j metrics: https://resilience4j.readme.io/docs/grafana-1
The problem is that I am using InfluxDb data source but the dashboard was created for Prometheus.
I am getting errrors after import:
Templating [application]
Error updating options: InfluxDB Error: error parsing query: found label_values, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
I was looking for solution but I am new both to Grafana and InfluxDb and I am lost. Could you direct me somehow how can I adapt the dashboard so that it works with InfluxDb?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Infuxdb和Prometheus使用不同的查询语言和概念。因此,没有简单的方法如何将Promql(Prometheus Query语言)“翻译”到InfuxQl(infuxdb查询语言)。您将不得不学习两者,并且需要手动重写所有这些查询,因此它们将与您的InfuxDB数据模型匹配。
InfluxDB and Prometheus use different query languages and concepts. So there is no simply way how can you "translate" PromQL (Prometheus query language) to InfluxQL (InfluxDB query language). You will have to learn both and you will need to rewrites all those queries manually, so they will be matching your InfuxDB data model.