feat: Implement templates for dashboards (#28)

This commit is contained in:
Fine0830
2022-03-19 12:11:35 +08:00
committed by GitHub
parent 1cf3887675
commit 597e98e291
61 changed files with 1583 additions and 1193 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
const msg = {
generalService: "General Service",
general: "General Service",
services: "Services",
service: "Service",
traces: "Traces",
@@ -96,6 +96,22 @@ const msg = {
taskList: "Task List",
sampledTraces: "Sampled Traces",
editTab: "Enable editing tab names",
label: "Service Name",
id: "Service ID",
setRoot: "Set this to root",
setNormal: "Set this to normal",
export: "Export Dashboard Templates",
import: "Import Dashboard Templates",
yes: "Yes",
no: "No",
tableHeaderCol1: "Name of the first column of the table",
tableHeaderCol2: "Name of the second column of the table",
showXAxis: "Show X Axis",
showYAxis: "Show Y Axis",
nameError: "The dashboard name cannot be duplicate",
showGroup: "Show Group",
noRoot: "Please set a root dashboard for",
noWidget: "Please add widgets.",
hourTip: "Select Hour",
minuteTip: "Select Minute",
secondTip: "Select Second",
@@ -234,7 +250,7 @@ const msg = {
parentService: "Parent Service",
isParentService: "Set Parent Service",
noneParentService: "No Parent Service",
serviceGroup: "Service Group",
group: "Service Group",
endpointFilter: "Endpoint Filter",
databaseView: "Database",
browserView: "Browser",
@@ -331,8 +347,6 @@ const msg = {
conditionNotice:
"Notice: Please press Enter after inputting a tag, key of content, exclude key of content(key=value).",
cacheModalTitle: "Clear cache reminder",
yes: "Yes",
no: "No",
cacheReminderContent:
"SkyWalking detected dashboard template updates, do you want to update?",
language: "Language",

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
const msg = {
generalService: "普通服务",
general: "普通服务",
services: "服务",
traces: "跟踪",
metrics: "指标",
@@ -96,6 +96,22 @@ const msg = {
taskList: "任务列表",
sampledTraces: "采样的追踪",
editTab: "开启编辑Tab的名称",
label: "服务名称",
id: "服务编号",
setRoot: "设置成为根",
setNormal: "设置成为普通",
export: "导出仪表板模板",
import: "导入仪表板模板",
yes: "是",
no: "否",
tableHeaderCol1: "表格的第一列的名称",
tableHeaderCol2: "表格的第二列的名称",
showXAxis: "显示X轴",
showYAxis: "显示Y轴",
nameError: "仪表板名称不能重复",
noRoot: "请设置根仪表板,为",
showGroup: "显示分组",
noWidget: "请添加组件",
hourTip: "选择小时",
minuteTip: "选择分钟",
secondTip: "选择秒数",
@@ -236,7 +252,7 @@ const msg = {
parentService: "父级服务",
isParentService: "设置父服务",
noneParentService: "不设置父服务",
serviceGroup: "服务组",
group: "服务组",
endpointFilter: "端点过滤器",
databaseView: "数据库视图",
browserView: "浏览器视图",
@@ -332,8 +348,6 @@ const msg = {
conditionNotice:
"请输入一个标签、内容关键词或者内容不包含的关键词(key=value)之后回车",
cacheModalTitle: "清除缓存提醒",
yes: "是的",
no: "不",
cacheReminderContent: "SkyWalking检测到仪表板模板更新是否需要更新",
language: "语言",
};