Fix using units from Zabbix, #1321

This commit is contained in:
Alexander Zobnin
2022-02-17 16:17:49 +03:00
parent 0a4714f9e9
commit afb90c9643
3 changed files with 26 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ func seriesToDataFrame(series *timeseries.TimeSeriesData, valuemaps []zabbix.Val
valueField.Config = &data.FieldConfig{
Custom: map[string]interface{}{
"scopedVars": scopedVars,
"units": item.Units,
},
}