Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmptyOption ¶
type EmptyOption struct{}
EmptyOption does not alter the configuration. It can be embedded in another structure to build custom options.
This API is EXPERIMENTAL.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
A Option sets options.
func WithOptionOtlpOptions ¶
func WithOptionOtlpOptions(v ...otlptracegrpc.Option) Option
WithOptionOtlpOptions appends OtlpOptions in option.
func WithOptionOtlpOptionsReplace ¶
func WithOptionOtlpOptionsReplace(v ...otlptracegrpc.Option) Option
WithOptionOtlpOptionsReplace sets OtlpOptions in option.
type OptionFunc ¶
type OptionFunc func(*option)
OptionFunc wraps a function that modifies option into an implementation of the Option interface.
type URLOpener ¶
type URLOpener struct {
// Options specifies the options to pass to OpenExporter.
Option option
}
URLOpener opens OTLP Trace gRPC URLs like "http://endpoint:4317?compression=gzip".
func (*URLOpener) OpenExporterURL ¶
OpenExporterURL opens a trace.SpanExporter based on u.
Click to show internal directories.
Click to hide internal directories.