type github.com/prometheus/client_golang/prometheus.labelPairSorter
10 uses
github.com/prometheus/client_golang/prometheus (current package)
desc.go#L156: sort.Sort(labelPairSorter(d.constLabelPairs))
metric.go#L119: type labelPairSorter []*dto.LabelPair
metric.go#L121: func (s labelPairSorter) Len() int {
metric.go#L125: func (s labelPairSorter) Swap(i, j int) {
metric.go#L129: func (s labelPairSorter) Less(i, j int) bool {
registry.go#L884: if !sort.IsSorted(labelPairSorter(dtoMetric.Label)) {
registry.go#L888: sort.Sort(labelPairSorter(copiedLabels))
registry.go#L935: sort.Sort(labelPairSorter(lpsFromDesc))
value.go#L160: sort.Sort(labelPairSorter(labelPairs))
wrap.go#L171: sort.Sort(labelPairSorter(out.Label))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |