Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 5 * time.Minute, }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { Files []string `alloy:"files,attr"` RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"` }
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *prom_discovery.SDConfig
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.