Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Server: "http://localhost:8500", Timeout: 500 * time.Millisecond, AllowStale: true, KVFilter: ".*", HealthSummary: true, }
DefaultArguments holds the default settings for the consul_exporter exporter.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Server string `alloy:"server,attr,optional"` CAFile string `alloy:"ca_file,attr,optional"` CertFile string `alloy:"cert_file,attr,optional"` KeyFile string `alloy:"key_file,attr,optional"` ServerName string `alloy:"server_name,attr,optional"` Timeout time.Duration `alloy:"timeout,attr,optional"` InsecureSkipVerify bool `alloy:"insecure_skip_verify,attr,optional"` RequestLimit int `alloy:"concurrent_request_limit,attr,optional"` AllowStale bool `alloy:"allow_stale,attr,optional"` RequireConsistent bool `alloy:"require_consistent,attr,optional"` KVPrefix string `alloy:"kv_prefix,attr,optional"` KVFilter string `alloy:"kv_filter,attr,optional"` HealthSummary bool `alloy:"generate_health_summary,attr,optional"` }
Arguments controls the consul_exporter exporter.
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *consul_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.