mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
feat: add message
This commit is contained in:
parent
2e951b4740
commit
44ba899e1e
@ -62,6 +62,7 @@ export const queryEBPFTasks = {
|
||||
threshold
|
||||
current
|
||||
}
|
||||
message
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
@ -53,10 +53,6 @@ limitations under the License. -->
|
||||
@change="changeMonitorType($event, index)"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">{{ t("count") }}</div>
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.count" @change="changeParam" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">
|
||||
<span class="mr-5">{{ t("threshold") }}</span>
|
||||
@ -70,6 +66,10 @@ limitations under the License. -->
|
||||
@change="changeThreshold(index)"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">{{ t("count") }}</div>
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.count" @change="changeParam" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">{{ t("period") }}</div>
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.period" @change="changeParam" />
|
||||
|
@ -99,16 +99,13 @@ limitations under the License. -->
|
||||
tooltip: {
|
||||
overflowMethod: "cap",
|
||||
template(item: EBPFTaskList | any) {
|
||||
const types = ["PROCESS_CPU", "HTTP_ERROR_RATE"];
|
||||
const data = item.data || {};
|
||||
const end = data.taskStartTime ? visDate(data.taskStartTime + data.fixedTriggerDuration * 1000) : "";
|
||||
let str = "";
|
||||
for (const item of data.continuousProfilingCauses || []) {
|
||||
str += `${item.type}: ${getURI(item.uri)}${item.uri.threshold}${types.includes(item.type) ? "%" : ""}>=
|
||||
${item.uri.current}${types.includes(item.type) ? "%" : ""}; `;
|
||||
str += `${item.message};`;
|
||||
}
|
||||
let tmp = `
|
||||
|
||||
<div>Task ID: ${data.taskId || ""}</div>
|
||||
<div>Target Type: ${data.targetType || ""}</div>
|
||||
<div>Trigger Type: ${data.triggerType || ""}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user