Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type Config ¶
type Config struct {
// QueueSettings use the exporterhelper sending_queue to move the queue to the connector to avoid data being stuck
// in the queue of an unhealthy exporter
QueueSettings configoptional.Optional[exporterhelper.QueueBatchConfig] `mapstructure:"sending_queue"`
// PipelinePriority is the list of pipeline level priorities in a 1 - n configuration, multiple pipelines can
// sit at a single priority level and will be routed in a fanout. If any pipeline at a level fails, the
// level is considered unhealthy
PipelinePriority [][]pipeline.ID `mapstructure:"priority_levels"`
// RetryInterval is the frequency at which the pipeline levels will attempt to recover by going over
// all levels below the current
RetryInterval time.Duration `mapstructure:"retry_interval"`
// RetryGap is how much time will pass between trying two separate priority levels in a single RetryInterval
// If the priority list has 3 levels, the RetryInterval is 5m, and the retryGap is 1m, within the 5m RetryInterval,
// the connector will only try one level every 1m, and will return to the stable level in the interim
RetryGap time.Duration `mapstructure:"retry_gap"` // **Deprecated**
// MaxRetry is the maximum retries per level, once this limit is hit for a level, even if the next pipeline level fails,
// it will not try to recover the level that exceeded the maximum retries
MaxRetries int `mapstructure:"max_retries"` // **Deprecated**
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.