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/vendor/github.com/Shopify/sarama/version.go

20 lines
356 B

package sarama
import "runtime/debug"
var v string
func version() string {
if v == "" {
bi, ok := debug.ReadBuildInfo()
if ok {
v = bi.Main.Version
} else {
// if we can't read a go module version then they're using a git
// clone or vendored module so all we can do is report "dev" for
// the version
v = "dev"
}
}
return v
}