diff --git a/prometheus/desc.go b/prometheus/desc.go index 60801a0ad..16d9061ef 100644 --- a/prometheus/desc.go +++ b/prometheus/desc.go @@ -157,7 +157,6 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const } d.id = xxh.Sum64() d.escapedID = escapedXXH.Sum64() - // Sort labelNames so that order doesn't matter for the hash. sort.Strings(labelNames) // Now hash together (in this order) the help string and the sorted