package api import ( "fmt" "regexp" "strings" "time" json "github.com/json-iterator/go" "github.com/prometheus/common/model" ) // EntryParser describes how to parse log lines. type EntryParser int // Different supported EntryParsers. const ( Docker EntryParser = iota Raw CRI ) var ( criPattern = regexp.MustCompile(`^(?s)(?P