问题标签 [grafana-cli]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1479 浏览

grafana - 如何使用 Grafana-cli 安装特定版本的插件?

我遇到了一个问题,我需要在 Grafana 中安装特定版本的插件,我尝试了不起作用的命令grafana-cli plugins install jdbranham-diagram-panel --version=1.6.1。我正在尝试在我的系统中安装jdbranham-diagram-panel 插件的1.6.1版本。

0 投票
1 回答
1232 浏览

grafana - 如何在带有 sql 的 grafana 中使用 $timeFilter ?它在生成的sql中显示未定义

我正在尝试在 grafana 中使用 $timeFilter 变量,并将 clickhouse 作为我的数据库。我正在写的查询是这样的:

从 pw.lte_avail_key 中选择时间戳,其中 $timeFilter

Grafana 生成的 SQL 是这样的:

从 pw.lte_avail_key 中选择时间戳,其中 undefined >= toDateTime(1615514208)

在某些面板中,生成的查询是这样的:

从 pw.lte_avail_key 中选择时间戳,其中时间戳 >= toDateTime(1615514208)

为什么会出现这个随机问题?请帮忙。