Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(creator Creator, name string) func(component.Options, component.Arguments) (component.Component, error)
New creates a new exporter component.
func NewMultiTarget ¶ added in v0.33.0
func NewMultiTarget(creator Creator, name string, multiTargetFunc func(discovery.Target, component.Arguments) []discovery.Target) func(component.Options, component.Arguments) (component.Component, error)
NewMultiTarget creates a new exporter component that supports multiple targets.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
type Creator ¶
type Creator func(component.Options, component.Arguments) (integrations.Integration, error)
Creator is a function provided by an implementation to create a concrete exporter instance.
Click to show internal directories.
Click to hide internal directories.