mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 13:57:36 -08:00
add some TODOs for later
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
This commit is contained in:
parent
25c8baeb6c
commit
4cfd2eaf63
|
@ -783,6 +783,7 @@ func labelsToLabelsProto(lbls labels.Labels, buf []prompb.Label) []prompb.Label
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
func labelsToUint32SliceStr(lbls labels.Labels, symbolTable *rwSymbolTable, buf []uint32) []uint32 {
|
func labelsToUint32SliceStr(lbls labels.Labels, symbolTable *rwSymbolTable, buf []uint32) []uint32 {
|
||||||
result := buf[:0]
|
result := buf[:0]
|
||||||
lbls.Range(func(l labels.Label) {
|
lbls.Range(func(l labels.Label) {
|
||||||
|
@ -794,6 +795,7 @@ func labelsToUint32SliceStr(lbls labels.Labels, symbolTable *rwSymbolTable, buf
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
func Uint32StrRefToLabels(symbols []string, minLabels []uint32) labels.Labels {
|
func Uint32StrRefToLabels(symbols []string, minLabels []uint32) labels.Labels {
|
||||||
ls := labels.NewScratchBuilder(len(minLabels) / 2)
|
ls := labels.NewScratchBuilder(len(minLabels) / 2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue