Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
KASAKI11
TDengine
提交
848ad482
T
TDengine
项目概览
KASAKI11
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
848ad482
编写于
12月 31, 2019
作者:
X
xieyinglin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add dashboard json
上级
6210f4ec
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
379 addition
and
0 deletion
+379
-0
importSampleData/dashboard/sensor_info.json
importSampleData/dashboard/sensor_info.json
+379
-0
未找到文件。
importSampleData/dashboard/sensor_info.json
0 → 100644
浏览文件 @
848ad482
{
"annotations"
:
{
"list"
:
[
{
"builtIn"
:
1
,
"datasource"
:
"-- Grafana --"
,
"enable"
:
true
,
"hide"
:
true
,
"iconColor"
:
"rgba(0, 211, 255, 1)"
,
"name"
:
"Annotations & Alerts"
,
"type"
:
"dashboard"
}
]
},
"editable"
:
true
,
"gnetId"
:
null
,
"graphTooltip"
:
0
,
"id"
:
4
,
"links"
:
[],
"panels"
:
[
{
"cacheTimeout"
:
null
,
"colorBackground"
:
false
,
"colorValue"
:
true
,
"colors"
:
[
"#299c46"
,
"rgba(237, 129, 40, 0.89)"
,
"#d44a3a"
],
"datasource"
:
null
,
"format"
:
"celsius"
,
"gauge"
:
{
"maxValue"
:
100
,
"minValue"
:
0
,
"show"
:
false
,
"thresholdLabels"
:
false
,
"thresholdMarkers"
:
true
},
"gridPos"
:
{
"h"
:
8
,
"w"
:
12
,
"x"
:
0
,
"y"
:
0
},
"id"
:
6
,
"interval"
:
null
,
"links"
:
[],
"mappingType"
:
1
,
"mappingTypes"
:
[
{
"name"
:
"value to text"
,
"value"
:
1
},
{
"name"
:
"range to text"
,
"value"
:
2
}
],
"maxDataPoints"
:
100
,
"nullPointMode"
:
"connected"
,
"nullText"
:
null
,
"options"
:
{},
"postfix"
:
""
,
"postfixFontSize"
:
"50%"
,
"prefix"
:
""
,
"prefixFontSize"
:
"50%"
,
"rangeMaps"
:
[
{
"from"
:
"null"
,
"text"
:
"N/A"
,
"to"
:
"null"
}
],
"sparkline"
:
{
"fillColor"
:
"rgba(31, 118, 189, 0.18)"
,
"full"
:
false
,
"lineColor"
:
"rgb(31, 120, 193)"
,
"show"
:
true
,
"ymax"
:
null
,
"ymin"
:
null
},
"tableColumn"
:
""
,
"targets"
:
[
{
"alias"
:
"lastest_temperature"
,
"refId"
:
"A"
,
"sql"
:
"select last(temperature) from test.s_sensor_info where location = 'beijing' and ts > now - 1h and ts < now interval(1m)"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
}
],
"thresholds"
:
"20,30"
,
"timeFrom"
:
null
,
"timeShift"
:
null
,
"title"
:
"最新温度"
,
"type"
:
"singlestat"
,
"valueFontSize"
:
"80%"
,
"valueMaps"
:
[
{
"op"
:
"="
,
"text"
:
"N/A"
,
"value"
:
"null"
}
],
"valueName"
:
"current"
},
{
"datasource"
:
null
,
"gridPos"
:
{
"h"
:
8
,
"w"
:
12
,
"x"
:
12
,
"y"
:
0
},
"id"
:
8
,
"options"
:
{
"fieldOptions"
:
{
"calcs"
:
[
"mean"
],
"defaults"
:
{
"mappings"
:
[],
"max"
:
100
,
"min"
:
0
,
"thresholds"
:
[
{
"color"
:
"green"
,
"value"
:
null
},
{
"color"
:
"red"
,
"value"
:
80
}
],
"title"
:
""
},
"override"
:
{},
"values"
:
false
},
"orientation"
:
"auto"
,
"showThresholdLabels"
:
false
,
"showThresholdMarkers"
:
true
},
"pluginVersion"
:
"6.4.3"
,
"targets"
:
[
{
"alias"
:
"maxHumidity"
,
"refId"
:
"A"
,
"sql"
:
"select max(humidity) from test.s_sensor_info where location = 'beijing' and ts > now -1h and ts < now"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
}
],
"timeFrom"
:
null
,
"timeShift"
:
null
,
"title"
:
"最大湿度"
,
"type"
:
"gauge"
},
{
"aliasColors"
:
{},
"bars"
:
true
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
null
,
"fill"
:
1
,
"fillGradient"
:
0
,
"gridPos"
:
{
"h"
:
10
,
"w"
:
12
,
"x"
:
0
,
"y"
:
8
},
"id"
:
4
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
true
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
false
,
"linewidth"
:
1
,
"nullPointMode"
:
"null"
,
"options"
:
{
"dataLinks"
:
[]
},
"percentage"
:
false
,
"pointradius"
:
2
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"alias"
:
"avgTemperature"
,
"refId"
:
"A"
,
"sql"
:
"select avg(temperature) from test.s_sensor_info where location = 'beijing' and ts > now -1h and ts < now interval(1m)"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"平均温度"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"format"
:
"celsius"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
],
"yaxis"
:
{
"align"
:
false
,
"alignLevel"
:
null
}
},
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
null
,
"fill"
:
1
,
"fillGradient"
:
0
,
"gridPos"
:
{
"h"
:
10
,
"w"
:
12
,
"x"
:
12
,
"y"
:
8
},
"id"
:
10
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
true
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"nullPointMode"
:
"null"
,
"options"
:
{
"dataLinks"
:
[]
},
"percentage"
:
false
,
"pointradius"
:
2
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"alias"
:
"avg"
,
"refId"
:
"A"
,
"sql"
:
"select max(temperature) from test.t_0_sensor_info where ts > now -1h and ts < now interval(1m)"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
},
{
"alias"
:
"max"
,
"refId"
:
"B"
,
"sql"
:
"select avg(temperature) from test.t_0_sensor_info where ts > now -1h and ts < now interval(1m)"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
},
{
"alias"
:
"min"
,
"refId"
:
"C"
,
"sql"
:
"select min(temperature) from test.t_0_sensor_info where ts > now -1h and ts < now interval(1m)"
,
"target"
:
"select metric"
,
"type"
:
"timeserie"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"某传感器"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"format"
:
"celsius"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
],
"yaxis"
:
{
"align"
:
false
,
"alignLevel"
:
null
}
}
],
"refresh"
:
"5s"
,
"schemaVersion"
:
20
,
"style"
:
"dark"
,
"tags"
:
[],
"templating"
:
{
"list"
:
[]
},
"time"
:
{
"from"
:
"now-1h"
,
"to"
:
"now"
},
"timepicker"
:
{
"refresh_intervals"
:
[
"5s"
,
"10s"
,
"30s"
,
"1m"
,
"5m"
,
"15m"
,
"30m"
,
"1h"
,
"2h"
,
"1d"
]
},
"timezone"
:
""
,
"title"
:
"sensor_info"
,
"uid"
:
"dGSoaTLWz"
,
"version"
:
2
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录