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

Method WithAttrBool

pkg/traceql/ast_test.go:990–993  ·  view source on GitHub ↗
(key string, value bool)

Source from the content-addressed store, hash-verified

988}
989
990func (m *mockSpan) WithAttrBool(key string, value bool) *mockSpan {
991 m.attributes[NewAttribute(key)] = NewStaticBool(value)
992 return m
993}
994
995func (m *mockSpan) AttributeFor(a Attribute) (Static, bool) {
996 s, ok := m.attributes[a]

Callers 1

Calls 2

NewAttributeFunction · 0.85
NewStaticBoolFunction · 0.85

Tested by

no test coverage detected