Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSwiExtensionNotFound = errors.New("solarwinds extension not found")
)
Functions ¶
func NewDefaultConfig ¶
NewDefaultConfig creates a new default configuration.
func NewFactory ¶
NewFactory creates a factory for Solarwinds Exporter.
Types ¶
type Config ¶
type Config struct { // Extension identifies a Solarwinds Extension to // use for obtaining connection credentials in this exporter. Extension string `mapstructure:"extension"` // BackoffSettings configures retry behavior of the exporter. // See [configretry.BackOffConfig] documentation. BackoffSettings configretry.BackOffConfig `mapstructure:"retry_on_failure"` // QueueSettings defines configuration for queueing batches in the OTLP Exporter. // See [exporterhelper.QueueConfig] documentation. QueueSettings exporterhelper.QueueConfig `mapstructure:"sending_queue"` // Timeout configures timeout in the underlying OTLP exporter. Timeout exporterhelper.TimeoutConfig `mapstructure:"timeout,squash"` // contains filtered or unexported fields }
Config represents a Solarwinds Exporter configuration.
func (*Config) OTLPConfig ¶
func (cfg *Config) OTLPConfig() (*otlpexporter.Config, error)
OTLPConfig generates a full OTLP Exporter configuration from the configuration.
Click to show internal directories.
Click to hide internal directories.