Tempo: Metrics summary no value (#74582)

Metrics summary no value
This commit is contained in:
Joey 2023-09-13 10:22:22 +01:00 committed by GitHub
parent ee96b08f4b
commit a12c224cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ export function createTableFrameFromMetricsSummaryQuery(
field.values.push(trace[field.name]); field.values.push(trace[field.name]);
} }
} }
frame = sortDataFrame(frame, 0); frame = sortDataFrame(frame, 0, true);
return [frame]; return [frame];
} }
@ -183,7 +183,7 @@ const getConfig = (series: Series, query: string, instanceSettings: DataSourceIn
return { ...commonConfig }; return { ...commonConfig };
}; };
const NO_VALUE = ''; const NO_VALUE = '<no value>';
const getMetricValue = (series: Series) => { const getMetricValue = (series: Series) => {
if (!series.value.type) { if (!series.value.type) {