Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var DefaultArguments = Arguments{ CollectInterval: 1 * time.Minute, UseTiDBParser: false, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
	DataSourceName    alloytypes.Secret   `alloy:"data_source_name,attr"`
	CollectInterval   time.Duration       `alloy:"collect_interval,attr,optional"`
	ForwardTo         []loki.LogsReceiver `alloy:"forward_to,attr"`
	EnableCollectors  []string            `alloy:"enable_collectors,attr,optional"`
	DisableCollectors []string            `alloy:"disable_collectors,attr,optional"`
	// TODO(cristian): experimental, will be removed soon
	UseTiDBParser bool `alloy:"use_tidb_parser,attr,optional"`
}
    func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
type Component ¶
type Component struct {
	// contains filtered or unexported fields
}
    func (*Component) CurrentHealth ¶
 Click to show internal directories. 
   Click to hide internal directories.