MCPcopy
hub / github.com/grafana/tempo / MapKey

Method MapKey

pkg/traceql/engine_metrics.go:311–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309}
310
311func (ls Labels) MapKey() SeriesMapKey {
312 key := SeriesMapKey{}
313 for i := range ls {
314 key[i] = SeriesMapLabel{Name: ls[i].Name, Value: ls[i].Value.MapKey()}
315 }
316 return key
317}
318
319// Add returns a copy of the labels with the given label added to the end.
320func (ls Labels) Add(label Label) Labels {

Callers 8

resultMethod · 0.95
ResultsMethod · 0.95
createSeriesSetFunction · 0.95
getGroupingValuesMethod · 0.45
labelsForMethod · 0.45
SeriesMethod · 0.45
CombineMethod · 0.45
ResultsMethod · 0.45

Calls

no outgoing calls

Tested by 1

createSeriesSetFunction · 0.76