GRAFANA 上没有选项 "Postgres " 作为数据库类型

No option "Postgres " as database type on GRAFANA

我按照网站上的说明安装了grafana。 http://docs.grafana.org/installation/debian/ And since I'm using postgresql as database I wanted tp add may data source. Unfortunately I didn't found the option postgres (only Graphit, MySQL, InfluxDB and two other types were there). There is even any postgres plugin on the website (The one that I found didn't work https://github.com/sraoss/grafana-sqldb-datasource).

是否有使 Grafana 支持 Postgres 的解决方案?

目前 Grafana 仅支持 Postgres 作为 Grafana 的数据存储(用于存储仪表板、用户等),并且没有发布使用 Postgres 作为数据源的插件。

MySQL 数据源插件刚刚添加到 Grafana,Postgres 插件在 Grafana 路线图上,应该会在今年晚些时候发布。

如果您想知道为什么支持这么多数据源但不支持 Postgres,那是因为传统上关系数据库不是 Grafana 的用途。主要用例是可视化时间序列数据(通常比关系数据库可以处理的数据更多)。关系数据库不是为这个用例构建的,这就是为什么大多数人使用像 Graphite 或 InfluxDB 这样的东西。但是在像 Postgres 这样的数据库中有一些数据是很常见的,你想在仪表板上显示这些数据或者与时间序列数据库中的一些数据结合起来。这就是 Grafana 团队计划很快发布插件的原因。

编辑:Postgres 数据源现已合并到 Grafana master,并将在 Grafana 4.6 中发布:https://github.com/grafana/grafana/pull/9209