Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/logql/syntax/walk.go

10 lines
335 B

package syntax
// WalkFn is the callback function that gets called whenever a node of the AST is visited.
// The return value indicates whether the traversal should continue with the child nodes.
type WalkFn = func(e Expr) bool
// Walkable denotes a node of the AST that can be traversed.
type Walkable interface {
Walk(f WalkFn)
}