mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 00:08:56 +00:00
Merge branch 'main' of github.com:apache/skywalking-booster-ui into feat/profile
This commit is contained in:
commit
d94a52cf19
@ -93,11 +93,14 @@ limitations under the License. -->
|
||||
/>
|
||||
<Icon class="cp" iconName="remove_circle_outline" size="middle" @click="deleteMetric(index)" />
|
||||
</span>
|
||||
<div v-if="(errors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (errors || states.tips)[index] }}
|
||||
<div v-if="(states.tips || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ states.tips[index] }}
|
||||
</div>
|
||||
<div v-if="(subErrors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (subErrors || states.tips)[index] }}
|
||||
<div v-if="(errors || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (errors || [])[index] }}
|
||||
</div>
|
||||
<div v-if="(subErrors || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (subErrors || [])[index] }}
|
||||
</div>
|
||||
</div>
|
||||
<div>{{ t("visualization") }}</div>
|
||||
|
@ -15,7 +15,7 @@ limitations under the License. -->
|
||||
|
||||
<template>
|
||||
<div
|
||||
v-if="!isNaN(singleVal)"
|
||||
v-if="singleVal !== null && !isNaN(singleVal)"
|
||||
class="chart-card"
|
||||
:style="{
|
||||
fontSize: `${config.fontSize}px`,
|
||||
|
@ -179,9 +179,9 @@ limitations under the License. -->
|
||||
);
|
||||
endpoints.value = params.data;
|
||||
colMetrics.value = params.names;
|
||||
colSubMetrics.value = params.subNames;
|
||||
metricTypes.value = params.metricTypesArr;
|
||||
metricConfig.value = params.metricConfigArr;
|
||||
colSubMetrics.value = params.colSubMetrics;
|
||||
emit("expressionTips", { tips: params.expressionsTips, subTips: params.subExpressionsTips });
|
||||
|
||||
return;
|
||||
@ -216,6 +216,7 @@ limitations under the License. -->
|
||||
...(props.config.metrics || []),
|
||||
...(props.config.metricConfig || []),
|
||||
...(props.config.expressions || []),
|
||||
...(props.config.subExpressions || []),
|
||||
props.config.metricMode,
|
||||
],
|
||||
(data, old) => {
|
||||
|
@ -215,7 +215,7 @@ limitations under the License. -->
|
||||
);
|
||||
instances.value = params.data;
|
||||
colMetrics.value = params.names;
|
||||
colSubMetrics.value = params.colSubMetrics;
|
||||
colSubMetrics.value = params.subNames;
|
||||
metricTypes.value = params.metricTypesArr;
|
||||
metricConfig.value = params.metricConfigArr;
|
||||
emit("expressionTips", { tips: params.expressionsTips, subTips: params.subExpressionsTips });
|
||||
@ -268,6 +268,7 @@ limitations under the License. -->
|
||||
...(props.config.metrics || []),
|
||||
...(props.config.metricConfig || []),
|
||||
...(props.config.expressions || []),
|
||||
...(props.config.subExpressions || []),
|
||||
props.config.metricMode,
|
||||
],
|
||||
(data, old) => {
|
||||
|
Loading…
Reference in New Issue
Block a user