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/log/json_expr.go

13 lines
229 B

package log
type JSONExpression struct {
Identifier string
Expression string
}
func NewJSONExpr(identifier, expression string) JSONExpression {
return JSONExpression{
Identifier: identifier,
Expression: expression,
}
}