Exclude metric name in vector arithmetric label matching.

pull/27/head
Julius Volz 12 years ago
parent c2c8b8ad87
commit 429b66019c

@ -419,7 +419,7 @@ func labelsEqual(labels1, labels2 model.Metric) bool {
return false return false
} }
for label, value := range labels1 { for label, value := range labels1 {
if labels2[label] != value { if labels2[label] != value && label != "name" {
return false return false
} }
} }

Loading…
Cancel
Save