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

Function IsValidTransformationName

pkg/traceql/ast_rewriter.go:35–37  ·  view source on GitHub ↗

IsValidTransformationName reports whether name is a known transformation name or "all".

(name string)

Source from the content-addressed store, hash-verified

33
34// IsValidTransformationName reports whether name is a known transformation name or "all".
35func IsValidTransformationName(name string) bool {
36 return slices.Contains(knownTransformationNames, name)
37}
38
39// KnownTransformationNames returns a comma-separated list of valid transformation names.
40func KnownTransformationNames() []string {

Callers 1

CheckConfigMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected