当前位置:Gxlcms > 数据库问题 > Using InfluxDB in Grafana,influxDB在grafana中使用

Using InfluxDB in Grafana,influxDB在grafana中使用

时间:2021-07-01 10:21:17 帮助过:21人阅读

 

  1. 点击顶部Grafana图标打开侧边的菜单。
  2. 在 Dashboards链接下的侧菜单中,您应该找到一个名为Data Sources的链接。
  3. 在顶部点击 + Add data source按钮。
  4. 在Type下拉选项中选择 InfluxDB。

技术分享

技术分享

 

Edit/ADD data source

 name :数据源名称。这就是在面板和查询中引用数据源的方式。

defalut:默认的数据源意味着它将被预先选中用于新的面板。

Type

Http settings

Url:您的http协议、ip和influxDB api的端口(influxdb api端口是默认的8086)

Access:proxy:通过grafana后端访问,Direct:直接通过浏览器访问

Http Auth

Basic Auth

with Credentials

Tls client Auth

With CA Cert

InfluxDB Details

Database:influxdb数据库名称

User:数据库用户名

Password:数据库用户密码

Defalut group by time

注意:如果你没有在你的侧菜单中看到Data Sources链接,这意味着你当前的用户没有当前组织的Admin角色。

详细见;http://docs.grafana.org/features/datasources/influxdb/

 

 

Proxy vs Direct access

Proxy access means that the Grafana backend will proxy all requests from the browser. So requests to InfluxDB will be channeled through grafana-server. This means that the URL you specify needs to be accessible from the server you are running Grafana on. Proxy access mode is also more secure as the username & password will never reach the browser.

 

Using InfluxDB in Grafana,influxDB在grafana中使用

标签:auth   influxdb   running   his   图标   doc   应该   group by   ack   

人气教程排行