Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ CollectInterval: 10 * time.Second, QuerySamplesEnabled: true, }
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"` QuerySamplesEnabled bool `alloy:"query_samples_enabled,attr,optional"` ForwardTo []loki.LogsReceiver `alloy:"forward_to,attr"` }
TODO(cristian) consider using something like "enabled_collectors" to allow users to enable/disable collectors.
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.