Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gdyjdao
SkyWalking
提交
baecad35
S
SkyWalking
项目概览
gdyjdao
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
baecad35
编写于
6月 09, 2020
作者:
wu-sheng
提交者:
GitHub
6月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add database page dashboard and UI update. (#4892)
上级
202d5711
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
123 addition
and
1 deletion
+123
-1
oap-server/server-bootstrap/src/main/resources/ui-initialized-templates.yml
...bootstrap/src/main/resources/ui-initialized-templates.yml
+122
-0
skywalking-ui
skywalking-ui
+1
-1
未找到文件。
oap-server/server-bootstrap/src/main/resources/ui-initialized-templates.yml
浏览文件 @
baecad35
...
...
@@ -514,6 +514,128 @@ templates:
# True means wouldn't show up on the dashboard. Only keeps the definition in the storage.
disabled
:
false
-
name
:
"
Database"
# The type includes DASHBOARD, TOPOLOGY_INSTANCE, TOPOLOGY_ENDPOINT.
# DASHBOARD type templates could have multiple definitions, by using different names.
# TOPOLOGY_INSTANCE, TOPOLOGY_ENDPOINT type templates should be defined once, as they are used in the topology page only.
type
:
"
DASHBOARD"
# Configuration could be defined through UI, and use `export` to format in the standard JSON.
configuration
:
|-
[
{
"name": "Database",
"type": "database",
"children": [
{
"name": "Database",
"children": [
{
"width": 3,
"title": "Database Avg Response Time",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "REGULAR_VALUE",
"metricName": "database_access_resp_time",
"queryMetricType": "readMetricsValues",
"chartType": "ChartLine",
"unit": "ms"
},
{
"width": 3,
"title": "Database Access Successful Rate",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "REGULAR_VALUE",
"metricName": "database_access_sla",
"queryMetricType": "readMetricsValues",
"chartType": "ChartLine",
"unit": "%",
"aggregation": "/",
"aggregationNum": "100"
},
{
"width": 3,
"title": "Database Traffic",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "REGULAR_VALUE",
"metricName": "database_access_cpm",
"queryMetricType": "readMetricsValues",
"chartType": "ChartLine",
"unit": "CPM - calls per minute"
},
{
"width": 3,
"title": "Database Access Latency Percentile",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "LABELED_VALUE",
"metricName": "database_access_percentile",
"queryMetricType": "readLabeledMetricsValues",
"chartType": "ChartLine",
"metricLabels": "P50, P75, P90, P95, P99",
"labelsIndex": "0, 1, 2, 3, 4",
"unit": "ms"
},
{
"width": "6",
"title": "Slow Statements",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "SAMPLED_RECORD",
"metricName": "top_n_database_statement",
"queryMetricType": "readSampledRecords",
"chartType": "ChartSlow",
"parentService": true,
"sortOrder": "DES",
"unit": "ms"
},
{
"width": 3,
"title": "All Database Loads",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "REGULAR_VALUE",
"metricName": "database_access_cpm",
"queryMetricType": "sortMetrics",
"chartType": "ChartSlow",
"parentService": false,
"sortOrder": "DES",
"unit": "CPM - calls per minute"
},
{
"width": 3,
"title": "Un-Health Databases (Successful Rate)",
"height": 350,
"entityType": "Service",
"independentSelector": false,
"metricType": "REGULAR_VALUE",
"metricName": "database_access_sla",
"queryMetricType": "sortMetrics",
"chartType": "ChartSlow",
"parentService": false,
"sortOrder": "ASC",
"unit": "%",
"aggregation": "/",
"aggregationNum": "100"
}
]
}
]
}
]
# Activated as the DASHBOARD type, makes this templates added into the UI page automatically.
# False means providing a basic template, user needs to add it manually.
activated
:
true
# True means wouldn't show up on the dashboard. Only keeps the definition in the storage.
disabled
:
false
-
name
:
"
Topology
Instance"
# The type includes DASHBOARD, TOPOLOGY_INSTANCE, TOPOLOGY_ENDPOINT.
# DASHBOARD type templates could have multiple definitions, by using different names.
...
...
skywalking-ui
@
b0e47262
比较
903a3e85
...
b0e47262
Subproject commit
903a3e856f62bfa68e790d2d1263244900d14f62
Subproject commit
b0e47262fa76b39b8fe58bff1f737892e84e7709
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录