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/label_extraction_expr.go

13 lines
255 B

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