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/logproto/alias.go

25 lines
582 B

package logproto
import (
"google.golang.org/grpc"
"github.com/grafana/loki/pkg/push"
)
// Aliases to avoid renaming all the imports of logproto
type Entry = push.Entry
type Stream = push.Stream
type LabelAdapter = push.LabelAdapter
type PushRequest = push.PushRequest
type PushResponse = push.PushResponse
type PusherClient = push.PusherClient
type PusherServer = push.PusherServer
func NewPusherClient(cc *grpc.ClientConn) PusherClient {
return push.NewPusherClient(cc)
}
func RegisterPusherServer(s *grpc.Server, srv PusherServer) {
push.RegisterPusherServer(s, srv)
}