status color fix
parent
09a6082917
commit
12e1ff08f5
|
|
@ -44,7 +44,7 @@ const PrometheusChart = ({ metricInfo, chartHeight = 560 }) => {
|
|||
timestamp: item.timestamp,
|
||||
value: parseFloat(item.value),
|
||||
name: item.__name__ || metricName,
|
||||
status: item.status?.toString() || '0',
|
||||
status: parseInt(item.status) || 0,
|
||||
device: item.device?.trim() || null,
|
||||
source_id: item.source_id || null,
|
||||
description: item.description || description
|
||||
|
|
|
|||
Loading…
Reference in New Issue