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

Method validate

pkg/traceql/ast_validate.go:305–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305func (a Attribute) validate() error {
306 if a.Parent {
307 return newUnsupportedError("parent")
308 }
309 switch a.Intrinsic {
310 case IntrinsicParent:
311 return newUnsupportedError(fmt.Sprintf("intrinsic (%v)", a.Intrinsic))
312 }
313
314 return nil
315}
316
317func (h *Hints) validate() error {
318 return nil

Callers

nothing calls this directly

Calls 1

newUnsupportedErrorFunction · 0.85

Tested by

no test coverage detected