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

Function withLe

modules/generator/registry/test.go:208–212  ·  view source on GitHub ↗
(lbls labels.Labels, le float64)

Source from the content-addressed store, hash-verified

206}
207
208func withLe(lbls labels.Labels, le float64) labels.Labels {
209 lb := labels.NewBuilder(lbls)
210 lb.Set(labels.BucketLabel, formatFloat(le))
211 return lb.Labels()
212}
213
214func (t *testHistogram) collectMetrics(_ storage.Appender, _ int64) error {
215 panic("implement me")

Callers 2

ObserveWithExemplarMethod · 0.70

Calls 2

formatFloatFunction · 0.85
SetMethod · 0.65

Tested by 1