mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-17 11:07:34 +00:00
update
This commit is contained in:
parent
9ba3f12f6d
commit
5a01f93494
@ -129,10 +129,12 @@ export async function useDashboardQueryProcessor(configList: Indexable[]) {
|
||||
item.metric &&
|
||||
item.metric.labels.map((d: { key: string; value: string }) => `${d.key}=${d.value}`).join(",");
|
||||
const values = item.values.map((d: { value: unknown }) => d.value) || [];
|
||||
if (label) {
|
||||
label = `${c.label || name}, ${label}`;
|
||||
} else {
|
||||
label = c.label || name;
|
||||
if (results.length === 1) {
|
||||
if (label) {
|
||||
label = `${c.label || name}, ${label}`;
|
||||
} else {
|
||||
label = c.label || name;
|
||||
}
|
||||
}
|
||||
source[label] = values;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user