简体   繁体   English

安装无弹性的grafana

[英]Install grafana without elasticseach

I'm trying to install grafana to work with OpenTSDB datasource. 我正在尝试安装grafana以与OpenTSDB数据源一起使用。 I'd like to know, what should I do to install it without elasticsearch? 我想知道,在没有elasticsearch的情况下如何安装?

我在Influxdb中使用了grafana,而我没有在使用Elasticsearch。

Grafana 2 is out in beta and I've been using that in production for a while. Grafana 2已发布Beta版,而我已经在生产环境中使用了一段时间。 Grafana 2 now has its own data store, which either uses MySQL or SQLite. Grafana 2现在拥有自己的数据存储,可以使用MySQL或SQLite。 But you can always use Elasticsearch as well. 但是您也可以始终使用Elasticsearch。 You can read more about it here 您可以在这里了解更多信息

Update: Stable version of Grafana 2 is now out, and it just works. 更新: Grafana 2的稳定版本现已发布,并且可以正常使用。

Grafana is a frontend, you will need some kind of database to store values and configuration in. I just grabbed the .tar.gz file from grafana's downloads page, created a config.js and pointed it at my influxdb server. Grafana是一个前端,您将需要某种数据库来存储值和配置。我只是从grafana的下载页面中抓取了.tar.gz文件,创建了config.js并将其指向我的influxdb服务器。 No elasticsearch here, either. 这里也没有弹性搜索。

You might want to take a look at gofana which will allow you to run Grafana without Elasticsearch. 您可能需要看一下gofana ,它将使您无需使用Elasticsearch即可运行Grafana。 It's a self-contained binary that allows you to store dashboards on the filesystem and not in Elasticsearch or InfluxDB. 这是一个自包含的二进制文件,使您可以将仪表板存储在文件系统上,而不是存储在Elasticsearch或InfluxDB中。 It also supports HTTPS and basic authentication. 它还支持HTTPS和基本身份验证。

Note: I'm the author of gofana. 注意:我是gofana的作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM