Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
Metadata contains the integration name and version that is passed down to the integration SDK.
type OptionFunc ¶
OptionFunc is an option func for the Wrapper.
func WithLogger ¶
func WithLogger(logger *log.Logger) OptionFunc
func WithMetadata ¶
func WithMetadata(metadata Metadata) OptionFunc
WithMetadata allows to configure the integration name and version that is passed down to the integration SDK.
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper is a wrapper on top of the SDK integration.
func NewWrapper ¶
func NewWrapper(opts ...OptionFunc) (*Wrapper, error)
NewWrapper creates a new SDK integration wrapper using the specified options.
func (*Wrapper) Integration ¶
Integration returns a sdk.Integration, configured to output data to the specified agent. Integration will block and wait until the specified server is ready, up to a maximum timeout.
Click to show internal directories.
Click to hide internal directories.