Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-10691][Dashboard] Add a metrics query page #10692

Merged
merged 5 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions inlong-dashboard/src/ui/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@
"components.Layout.UserManual": "用户手册",
"components.Layout.Feedback": "建议反馈",
"components.HighSelect.Customize": "自定义",
"components.HighRadio.Customize": "自定义(ascii码)",
"components.HighSelect.SearchPlaceholder": "请输入关键字搜索",
"components.NodeSelect.Create": "新建节点",
"components.FieldList.SinkFieldName": "目标字段",
Expand Down Expand Up @@ -655,6 +656,7 @@
"pages.GroupDetail.Audit.Send": "发送成功",
"pages.GroupDetail.Audit.TimeStaticsDim": "粒度",
"pages.GroupDetail.Audit.Item": "审计项",
"pages.GroupDetail.Metric.Item": "指标项",
"pages.GroupDetail.Audit.Min": "分钟",
"pages.GroupDetail.Audit.Hour": "小时",
"pages.GroupDetail.Audit.Day": "天",
Expand Down Expand Up @@ -885,6 +887,7 @@
"pages.Tenant.config.CreateTime": "创建时间",
"pages.ModuleAudit.Ip": "IP 查询",
"pages.ModuleAudit.Id": "ID 查询",
"pages.ModuleAudit.Metric": "指标查询",
"pages.ModuleAudit.config.Ip": "机器 IP",
"pages.ModuleAudit.config.BenchmarkIndicator": "基准指标",
"pages.ModuleAudit.config.ComparativeIndicators": "对比指标",
Expand Down
3 changes: 3 additions & 0 deletions inlong-dashboard/src/ui/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@
"components.Layout.UserManual": "User manual",
"components.Layout.Feedback": "Feedback",
"components.HighSelect.Customize": "Customize",
"components.HighRadio.Customize": "Customize (ascii code)",
"components.HighSelect.SearchPlaceholder": "Please enter keyword...",
"components.NodeSelect.Create": "Create node",
"components.FieldList.SinkFieldName": "Sink field name",
Expand Down Expand Up @@ -659,6 +660,7 @@
"pages.GroupDetail.Audit.Day": "Day",
"pages.GroupDetail.Audit.Sink": "Sink",
"pages.GroupDetail.Audit.Item": "Audit item",
"pages.GroupDetail.Metric.Item": "Metric item",
"pages.GroupDetail.Audit.Total": "Total",
"pages.GroupDetail.Audit.DatepickerRule": "Out of selectable time range",
"pages.GroupDetail.Delay.QueryDate": "Query date",
Expand Down Expand Up @@ -885,6 +887,7 @@
"pages.Tenant.config.CreateTime": "Create time",
"pages.ModuleAudit.Ip": "Query by ip",
"pages.ModuleAudit.Id": "Query by id",
"pages.ModuleAudit.Metric": "Query by Metric",
"pages.ModuleAudit.config.Ip": "Machine ip",
"pages.ModuleAudit.config.BenchmarkIndicator": "Benchmark indicator",
"pages.ModuleAudit.config.ComparativeIndicators": "Comparative indicator",
Expand Down
2 changes: 1 addition & 1 deletion inlong-dashboard/src/ui/pages/GroupDetail/Audit/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ let endTimeVisible = true;
export const getFormContent = (inlongGroupId, initialValues, onSearch, onDataStreamSuccess) => [
{
type: 'select',
label: i18n.t('pages.GroupDetail.Audit.DataStream'),
label: i18n.t('pages.ModuleAudit.config.InlongStreamId'),
name: 'inlongStreamId',
props: {
dropdownMatchSelectWidth: false,
Expand Down
2 changes: 1 addition & 1 deletion inlong-dashboard/src/ui/pages/GroupDetail/Delay/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const toTableData = (source, sourceDataMap) => {
export const getFormContent = (inlongGroupId, initialValues, onSearch, onDataStreamSuccess) => [
{
type: 'select',
label: i18n.t('pages.GroupDetail.Audit.DataStream'),
label: i18n.t('pages.ModuleAudit.config.InlongStreamId'),
name: 'inlongStreamId',
props: {
dropdownMatchSelectWidth: false,
Expand Down
Loading
Loading