Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(t *Transport)
Option signature for specifying options, e.g. WithRoundTripper.
func WithDefaultAttributes ¶
WithDefaultAttributes specifies default attributes to add to each span.
func WithRoundTripper ¶
func WithRoundTripper(rt http.RoundTripper) Option
WithRoundTripper specifies the http.RoundTripper to call next after this transport. If it is nil (default), the transport will use http.DefaultTransport.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport for tracing Elastic operations.
func NewTransport ¶
NewTransport specifies a transport that will trace Elastic and report back via OpenTracing.
Click to show internal directories.
Click to hide internal directories.