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/compactor/client/grpc/custom.go

11 lines
211 B

package grpc
// Humanize returns a more human-friendly string form of job types.
func (x JobType) Humanize() string {
switch x {
case JOB_TYPE_DELETION:
return "deletion"
default:
return x.String()
}
}