Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 30 * time.Second, HTTPClientConfig: config.DefaultHTTPClientConfig, }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { Server string `alloy:"server,attr"` RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"` HTTPClientConfig config.HTTPClientConfig `alloy:",squash"` }
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.