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

Function newExemplar

modules/generator/registry/appender_test.go:95–101  ·  view source on GitHub ↗
(lbls map[string]string, e exemplar.Exemplar)

Source from the content-addressed store, hash-verified

93}
94
95func newExemplar(lbls map[string]string, e exemplar.Exemplar) exemplarSample {
96 l := labels.FromMap(lbls)
97 return exemplarSample{
98 l: l,
99 e: e,
100 }
101}
102
103func (s sample) String() string {
104 return fmt.Sprintf("%s %d %g", s.l, s.t, s.v)

Callers 2

Test_HistogramsFunction · 0.85
Test_histogramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected