diff --git a/receiver/collectdreceiver/collectd.go b/receiver/collectdreceiver/collectd.go index 8022edc066f1..5a9983a2a867 100644 --- a/receiver/collectdreceiver/collectd.go +++ b/receiver/collectdreceiver/collectd.go @@ -81,6 +81,8 @@ func (cdr *collectDRecord) appendToMetrics(logger *zap.Logger, scopeMetrics pmet } addIfNotNullOrEmpty(labels, "plugin", cdr.Plugin) + addIfNotNullOrEmpty(labels, "type", cdr.TypeS) + addIfNotNullOrEmpty(labels, "type_instance", cdr.TypeInstance) parseAndAddLabels(labels, cdr.PluginInstance, cdr.Host) if !usedDsName { addIfNotNullOrEmpty(labels, "dsname", dsName)