mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix: update
This commit is contained in:
parent
c67b24a39d
commit
2e951b4740
@ -99,11 +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}>=${item.uri.current}; `;
|
||||
str += `${item.type}: ${getURI(item.uri)}${item.uri.threshold}${types.includes(item.type) ? "%" : ""}>=
|
||||
${item.uri.current}${types.includes(item.type) ? "%" : ""}; `;
|
||||
}
|
||||
let tmp = `
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user