Skip to content

Commit

Permalink
Distributor registers logproto.Pusher service to receive logs via GRPC (
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithcheese authored Nov 13, 2020
1 parent f0d4adc commit a5cc650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/loki/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ func (t *Loki) initDistributor() (services.Service, error) {
return nil, err
}

logproto.RegisterPusherServer(t.server.GRPC, t.distributor)

pushHandler := middleware.Merge(
serverutil.RecoveryHTTPMiddleware,
t.httpAuthMiddleware,
Expand Down

0 comments on commit a5cc650

Please sign in to comment.