导入Grafana仪表板-Label_values不适合使用InfluxDB

发布于 2025-02-10 05:47:07 字数 541 浏览 0 评论 0原文

我找到了可弹性的不错的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如痴如狂 2025-02-17 05:47:07

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文