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

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

commit 1ec34bde505a4711baaecf57541970bd37c90380
Author: xiangdong huang <[email protected]>
AuthorDate: Sat May 2 22:40:50 2020 +0800

    fix user guide
---
 docs/UserGuide/7-Ecosystem Integration/1-Grafana.md    | 4 ++--
 docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md | 7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/UserGuide/7-Ecosystem Integration/1-Grafana.md 
b/docs/UserGuide/7-Ecosystem Integration/1-Grafana.md
index bc3ab84..b121a62 100644
--- a/docs/UserGuide/7-Ecosystem Integration/1-Grafana.md       
+++ b/docs/UserGuide/7-Ecosystem Integration/1-Grafana.md       
@@ -152,10 +152,10 @@ timestamp_precision=ms
 isDownSampling=true
 # defaut sampling intervals
 interval=1m
-# aggregation function to use to downsampling the data
+# aggregation function to use to downsampling the data (int, long, float, 
double)
 # COUNT, FIRST_VALUE, LAST_VALUE, MAX_TIME, MAX_VALUE, AVG, MIN_TIME, 
MIN_VALUE, NOW, SUM
 continuous_data_function=AVG
-# aggregation function to use to downsampling the data
+# aggregation function to use to downsampling the data (boolean, string)
 # COUNT, FIRST_VALUE, LAST_VALUE, MAX_TIME, MIN_TIME, NOW
 discrete_data_function=LAST_VALUE
 ```
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md 
b/docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md
index bf65ca9..c0bd31f 100644
--- a/docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md    
+++ b/docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md    
@@ -149,9 +149,12 @@ timestamp_precision=ms
 isDownSampling=true
 # 默认采样interval
 interval=1m
-# 用于对数据进行降采样的聚合函数
+# 用于对连续数据(int, long, float, double)进行降采样的聚合函数
 # COUNT, FIRST_VALUE, LAST_VALUE, MAX_TIME, MAX_VALUE, AVG, MIN_TIME, 
MIN_VALUE, NOW, SUM
-function=avg
+continuous_data_function=AVG
+# 用于对离散数据(boolean, string)进行降采样的聚合函数
+# COUNT, FIRST_VALUE, LAST_VALUE, MAX_TIME, MIN_TIME, NOW
+discrete_data_function=LAST_VALUE
 ```
 
 其中interval具体配置信息如下

Reply via email to