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 NewWithTargetBuilder ¶ added in v0.34.0
func NewWithTargetBuilder(creator Creator, name string, targetBuilderFunc func(discovery.Target, component.Arguments) []discovery.Target) func(component.Options, component.Arguments) (component.Component, error)
NewWithTargetBuilder creates a new exporter component with a custom target builder function. It can be used to expand a set of targets from a single one, or to customize the labels of the targets.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.