pub fn parse(input: &str) -> Result<Expr, ParseError>Expand description
Parse a top-level LogQL expression, dispatching between a log query
and a metric query. A query beginning with { is a log query; any
other start (a range/vector function, a number, or a parenthesis) is
a metric query.