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",
contentType: "Content Type",
content: "Timestamp - Content",
level: "Level",
viewLogs: "View Logs",
logsTagsTip: `Only tags defined in the core/default/searchableLogsTags are searchable.
Check more details on the Configuration Vocabulary page`,

View File

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

View File

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

View File

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

View File

@ -55,7 +55,7 @@ limitations under the License. -->
if (!props.data.tags) {
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) {
@ -103,7 +103,7 @@ limitations under the License. -->
}
.tags {
width: 260px;
width: 100px;
}
.content {

View File

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