fix: level

This commit is contained in:
Fine 2023-11-01 17:40:26 +08:00
parent 6500bf2657
commit 48ea74fa53
6 changed files with 7 additions and 4 deletions

View File

@ -298,6 +298,7 @@ const msg = {
isError: "Error", isError: "Error",
contentType: "Content Type", contentType: "Content Type",
content: "Timestamp - Content", content: "Timestamp - Content",
level: "Level",
viewLogs: "View Logs", viewLogs: "View Logs",
logsTagsTip: `Only tags defined in the core/default/searchableLogsTags are searchable. logsTagsTip: `Only tags defined in the core/default/searchableLogsTags are searchable.
Check more details on the Configuration Vocabulary page`, Check more details on the Configuration Vocabulary page`,

View File

@ -297,6 +297,7 @@ const msg = {
isError: "Error", isError: "Error",
contentType: "Tipo de Contenido", contentType: "Tipo de Contenido",
content: "Contenido", content: "Contenido",
level: "Level",
viewLogs: "Ver Registro de Datos", viewLogs: "Ver Registro de Datos",
logsTagsTip: `Solamente etiquetas definidas en core/default/searchableLogsTags pueden ser buscadas. logsTagsTip: `Solamente etiquetas definidas en core/default/searchableLogsTags pueden ser buscadas.
Más información en la página de Vocabulario de Configuración`, Más información en la página de Vocabulario de Configuración`,

View File

@ -295,6 +295,7 @@ const msg = {
isError: "错误", isError: "错误",
contentType: "内容类型", contentType: "内容类型",
content: "时间戳 - 内容", content: "时间戳 - 内容",
level: "Level",
viewLogs: "查看日志", viewLogs: "查看日志",
logsTagsTip: "只有core/default/searchableLogsTags中定义的标记才可搜索。查看配置词汇表页面上的更多详细信息。", logsTagsTip: "只有core/default/searchableLogsTags中定义的标记才可搜索。查看配置词汇表页面上的更多详细信息。",
keywordsOfContentLogTips: "SkyWalking OAP服务器的当前存储不支持此操作", keywordsOfContentLogTips: "SkyWalking OAP服务器的当前存储不支持此操作",

View File

@ -95,7 +95,7 @@ limitations under the License. -->
} }
.tags { .tags {
width: 260px; width: 100px;
} }
.serviceName { .serviceName {

View File

@ -55,7 +55,7 @@ limitations under the License. -->
if (!props.data.tags) { if (!props.data.tags) {
return ""; return "";
} }
return String(props.data.tags.map((d: { key: string; value: string }) => `${d.key}=${d.value}`)); return (props.data.tags.find((d: { key: string; value: string }) => d.key === "level") || {}).value || "";
}); });
function selectLog(label: string, value: string) { function selectLog(label: string, value: string) {
@ -103,7 +103,7 @@ limitations under the License. -->
} }
.tags { .tags {
width: 260px; width: 100px;
} }
.content { .content {

View File

@ -26,7 +26,7 @@ export const ServiceLogConstants = [
}, },
{ {
label: "tags", label: "tags",
value: "tags", value: "level",
}, },
{ {
label: "traceId", label: "traceId",