You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/10/31 02:22:24 UTC

[incubator-iotdb] branch fix_grafana_doc created (now a097a37)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a change to branch fix_grafana_doc
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at a097a37  update grafana doc

This branch includes the following new commits:

     new a097a37  update grafana doc

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: update grafana doc

Posted by qi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch fix_grafana_doc
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit a097a37a8e26a850abce147851ab16a59cc993a8
Author: qiaojialin <64...@qq.com>
AuthorDate: Thu Oct 31 10:22:09 2019 +0800

    update grafana doc
---
 grafana/readme.md    | 19 +++++++++----------
 grafana/readme_zh.md | 25 ++++++++++++++++---------
 2 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/grafana/readme.md b/grafana/readme.md
index 7a5f539..df67781 100644
--- a/grafana/readme.md
+++ b/grafana/readme.md
@@ -28,22 +28,21 @@ This project provides a connector which reads data from iotdb and sends to grafa
 ## Grafana installation
 
 Download url: https://grafana.com/grafana/download
+
 version >= 4.4.1
 
-### Install data source plugin
-plugin name: simple-json-datasource
-Download url: https://github.com/grafana/simple-json-datasource
+Grafana will auto start after installing, or you can run `sudo service grafana-server start`
 
-After downloading this plugin, you can use the grafana-cli tool to install SimpleJson from the commandline:
-> grafana-cli plugins install grafana-simple-json-datasource
+### Install data source plugin
 
-Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
+plugin name: simple-json-datasource (https://github.com/grafana/simple-json-datasource)
 
-* `{grafana-install-directory}\data\plugin\` (Windows)
-* `/var/lib/grafana/plugins` (Linux)
+Install SimpleJson plugin:
 
-### Start Grafana
-Grafana will auto start after installing, or you can run `sudo service grafana-server start`
+```$xslt
+sudo grafana-cli plugins install grafana-simple-json-datasource
+sudo service grafana-server restart
+```
 
 ## IoTDB installation
 
diff --git a/grafana/readme_zh.md b/grafana/readme_zh.md
index be31965..598cad8 100644
--- a/grafana/readme_zh.md
+++ b/grafana/readme_zh.md
@@ -20,27 +20,34 @@
 -->
 
 # Grafana安装
-Grafana下载地址:https://grafana.com/grafana/download
+
+Grafana 官网:https://grafana.com/grafana/download
 
 版本:4.4.1
 
-选择相应的操作系统下载并安装
+选择相应的操作系统下载并安装,安装后会自动启动,手动启动方式:
+
+```$xslt
+sudo service grafana-server start
+```
 
-# 数据源插件安装
-基于simple-json-datasource数据源插件连接IoTDB数据库。
+# Simple-json-datasource 插件安装
 
-插件下载地址:https://github.com/grafana/simple-json-datasource
+官网:https://github.com/grafana/simple-json-datasource
 
-下载并解压,将文件放到Grafana的目录中:
-`data\plugin\`(Windows)或`/var/lib/grafana/plugins` (Linux)
+安装命令:
 
-# 启动Grafana
-启动 Grafana
+```$xslt
+sudo grafana-cli plugins install grafana-simple-json-datasource
+sudo service grafana-server restart
+```
 
 # IoTDB安装
+
 参考:https://github.com/apache/incubator-iotdb
 
 # 后端数据源连接器安装
+
 下载源代码
 
 ```shell