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

Method String

pkg/traceql/enum_statics.go:157–174  ·  pkg/traceql/enum_statics.go::Kind.String
()

Source from the content-addressed store, hash-verified

155)
156
157func (k Kind) String() string {
158 switch k {
159 case KindUnspecified:
160 return "unspecified"
161 case KindInternal:
162 return "internal"
163 case KindClient:
164 return "client"
165 case KindServer:
166 return "server"
167 case KindProducer:
168 return "producer"
169 case KindConsumer:
170 return "consumer"
171 }
172
173 return fmt.Sprintf("kind(%d)", k)
174}
175
176var (
177 StaticNil = NewStaticNil()

Calls

no outgoing calls