Documentation ¶
Overview ¶
Package es provides a client with included tracing capabilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
elasticsearch.Client
}
Client is a wrapper for elasticsearch.Client
func NewClient ¶
NewClient is a modified version of elasticsearch.NewClient that injects a tracing-ready transport.
func NewDefaultClient ¶
NewDefaultClient returns an empty ES client with sane defaults
Click to show internal directories.
Click to hide internal directories.