Skip to content

Commit df7baba

Browse files
committed
proc proccon: duplicate software trace moved to warning
We cannot assure that software imported into skydive from outside doesn't have the cmdline duplicated (same server, two softwares, same cmdline). To avoid hidding more important problems, we are moving this "error" as warning.
1 parent dba6e06 commit df7baba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

topology/probes/proccon/proccon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func (p *Probe) processHostMetrics(serverNode *graph.Node, metrics []Metric) int
209209
continue
210210
} else if len(childNodes) > 1 {
211211
// This should not happen
212-
logging.GetLogger().Errorf("Found more than one Software node for Server node '%v' and cmdline '%s': %+v. Ignoring", nodeName(serverNode), metric.Tags["cmdline"], childNodes)
212+
logging.GetLogger().Warningf("Found more than one Software node for Server node '%v' and cmdline '%s': %+v. Ignoring", nodeName(serverNode), metric.Tags["cmdline"], childNodes)
213213
numberOfErrors++
214214
continue
215215
}

0 commit comments

Comments
 (0)