Skip to content

Commit

Permalink
libbeat: initialize stats observer in NewClient of ES (#6137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch authored and Steffen Siering committed Jan 22, 2018
1 parent b67568d commit d8bd52d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbeat/outputs/elasticsearch/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func NewClient(

compressionLevel: compression,
proxyURL: s.Proxy,
observer: s.Observer,
}

client.Connection.onConnectCallback = func() error {
Expand Down

0 comments on commit d8bd52d

Please sign in to comment.