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

Function newSample

modules/generator/registry/appender_test.go:86–93  ·  view source on GitHub ↗
(lbls map[string]string, t int64, v float64)

Source from the content-addressed store, hash-verified

84}
85
86func newSample(lbls map[string]string, t int64, v float64) sample {
87 l := labels.FromMap(lbls)
88 return sample{
89 l: l,
90 t: t,
91 v: v,
92 }
93}
94
95func newExemplar(lbls map[string]string, e exemplar.Exemplar) exemplarSample {
96 l := labels.FromMap(lbls)

Callers 15

Test_counterFunction · 0.85
Test_counter_cantAddFunction · 0.85
Test_HistogramsFunction · 0.85
Test_histogramFunction · 0.85
Test_histogram_cantAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected