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

Function keyFromLabels

integration/api/query_range_test.go:855–861  ·  view source on GitHub ↗
(labels []v1.KeyValue)

Source from the content-addressed store, hash-verified

853}
854
855func keyFromLabels(labels []v1.KeyValue) string {
856 key := ""
857 for _, label := range labels {
858 key += label.Key + "=" + label.Value.GetStringValue() + ","
859 }
860 return key
861}

Callers 2

naiveQueryRangeCombineFunction · 0.85

Calls 1

GetStringValueMethod · 0.80

Tested by

no test coverage detected