|
|
|
@ -89,7 +89,11 @@ export function Panel({ options, data, width, height, timeRange, onChangeTimeRan
|
|
|
|
|
value = additionalInfoConfig.value.value; |
|
|
|
|
} else { |
|
|
|
|
if (!_.isEmpty(additionalInfoConfig.value.metricName)) { |
|
|
|
|
const aggregatedValue = getLastMetricValue(grafanaSeriesList, additionalInfoConfig.value.metricName, 'Additional Info'); |
|
|
|
|
const aggregatedValue = getLastMetricValue( |
|
|
|
|
grafanaSeriesList, |
|
|
|
|
additionalInfoConfig.value.metricName, |
|
|
|
|
'Additional Info' |
|
|
|
|
); |
|
|
|
|
value = aggregatedValue !== null ? aggregatedValue : undefined; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|