mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 00:37:33 +00:00
update
This commit is contained in:
parent
f0a6bf3b02
commit
4cc16b5048
@ -18,7 +18,6 @@ import { useAppStoreWithOut } from "@/store/modules/app";
|
|||||||
import dateFormatStep from "@/utils/dateFormat";
|
import dateFormatStep from "@/utils/dateFormat";
|
||||||
import getLocalTime from "@/utils/localtime";
|
import getLocalTime from "@/utils/localtime";
|
||||||
import { EventParams } from "@/types/app";
|
import { EventParams } from "@/types/app";
|
||||||
import { QueryOrders, Status } from "@/views/dashboard/data";
|
|
||||||
|
|
||||||
export default function associateProcessor(props: any) {
|
export default function associateProcessor(props: any) {
|
||||||
function eventAssociate() {
|
function eventAssociate() {
|
||||||
|
@ -39,7 +39,7 @@ limitations under the License. -->
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
<div>
|
||||||
<div class="bt-10">{{ t("metricValues") }}</div>
|
<div class="title">{{ t("metricValues") }}</div>
|
||||||
<div v-for="metric in filters.metricValue" :key="metric.value">
|
<div v-for="metric in filters.metricValue" :key="metric.value">
|
||||||
{{ metric.label }}: {{ metric.data }}
|
{{ metric.label }}: {{ metric.data }}
|
||||||
</div>
|
</div>
|
||||||
@ -107,7 +107,6 @@ const currentLatency = ref<number[]>(
|
|||||||
init();
|
init();
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
console.log(filters);
|
|
||||||
if (!filters.id) {
|
if (!filters.id) {
|
||||||
for (const d of Object.keys(filters)) {
|
for (const d of Object.keys(filters)) {
|
||||||
if (filters[d] && !["metricValue", "duration"].includes(d)) {
|
if (filters[d] && !["metricValue", "duration"].includes(d)) {
|
||||||
@ -201,6 +200,9 @@ function setCondition() {
|
|||||||
params[k.value] = filters[k.label];
|
params[k.value] = filters[k.label];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isNaN(params.minTraceDuration)) {
|
||||||
|
params.queryOrder = QueryOrders[1].value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return params;
|
return params;
|
||||||
}
|
}
|
||||||
@ -236,4 +238,9 @@ onUnmounted(() => {
|
|||||||
.metric-value {
|
.metric-value {
|
||||||
padding: 10px 5px;
|
padding: 10px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user