Documentation ¶
Index ¶
Constants ¶
View Source
const MaxContentLength = 1 << 16
MaxContentLength is the maximum content length for which we'll read and capture the contents of the request body. Anything larger will still be traced but the body will not be captured as trace metadata.
Variables ¶
This section is empty.
Functions ¶
func NewTracedHTTPClient ¶
NewTracedHTTPClient returns a new http.Client with a custom transport dedicated to use with github.com/olivere/elastic
Types ¶
type TracedTransport ¶
TracedTransport is a traced HTTP transport that captures Elasticsearch spans.
Click to show internal directories.
Click to hide internal directories.