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

Function NewAttribute

pkg/traceql/ast.go:1267–1274  ·  pkg/traceql/ast.go::NewAttribute

NewAttribute creates a new attribute with the given identifier string.

(att string)

Source from the content-addressed store, hash-verified

1265
1266// NewAttribute creates a new attribute with the given identifier string.
1267func NewAttribute(att string) Attribute {
1268 return Attribute{
1269 Scope: AttributeScopeNone,
1270 Parent: false,
1271 Name: att,
1272 Intrinsic: IntrinsicNone,
1273 }
1274}
1275
1276// nolint: revive
1277func (Attribute) __fieldExpression() {}

Callers 15

tagValuesRunnerFunction · 0.92
SearchTagValuesMethod · 0.92
SearchTagValuesMethod · 0.92
TestSpanPoolReleaseFunction · 0.92
TestEventPoolReleaseFunction · 0.92
TestLinkPoolReleaseFunction · 0.92
SearchTagValuesMethod · 0.92
SearchTagValuesMethod · 0.92

Calls

no outgoing calls