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

Method Sanitize

modules/generator/registry/builder_test.go:65–67  ·  view source on GitHub ↗
(lbls labels.Labels)

Source from the content-addressed store, hash-verified

63var _ Sanitizer = (*sanitizerFunc)(nil)
64
65func (s sanitizerFunc) Sanitize(lbls labels.Labels) labels.Labels {
66 return s(lbls)
67}
68
69func TestLabelBuilder_Sanitizer(t *testing.T) {
70 builder := NewLabelBuilder(0, 0, sanitizerFunc(func(_ labels.Labels) labels.Labels {

Callers

nothing calls this directly

Calls 1

sFunction · 0.85

Tested by

no test coverage detected