diff --git a/plugins/inputs/sensors/sensors.go b/plugins/inputs/sensors/sensors.go index 6267ac64b..a4e29eb76 100644 --- a/plugins/inputs/sensors/sensors.go +++ b/plugins/inputs/sensors/sensors.go @@ -71,7 +71,7 @@ func (s *Sensors) Gather(acc inputs.Accumulator) error { fieldName := chipName + ":" + featureLabel fields := map[string]interface{}{ - featureLabel: feature.GetValue(), + fieldName: feature.GetValue(), } acc.AddFields("sensors", fields, tags)