mirror of
https://github.com/prometheus/prometheus
synced 2026-04-30 23:11:34 +08:00
Remove the remaining races, new and old.
Also, resolve a few other TODOs. Change-Id: Icb39b5a5e8ca22ebcb48771cd8951c5d9e112691
This commit is contained in:
@@ -255,8 +255,7 @@ func dropCommonLabelsImpl(timestamp clientmodel.Timestamp, args []Node) interfac
|
||||
}
|
||||
common := clientmodel.LabelSet{}
|
||||
for k, v := range vector[0].Metric {
|
||||
// TODO(julius): Revisit this when https://github.com/prometheus/prometheus/issues/380
|
||||
// is implemented.
|
||||
// TODO(julius): Should we also drop common metric names?
|
||||
if k == clientmodel.MetricNameLabel {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user