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 ¶ added in v0.33.0
type Arguments struct { Server string `river:"server,attr,optional"` CAFile string `river:"ca_file,attr,optional"` CertFile string `river:"cert_file,attr,optional"` KeyFile string `river:"key_file,attr,optional"` ServerName string `river:"server_name,attr,optional"` Timeout time.Duration `river:"timeout,attr,optional"` InsecureSkipVerify bool `river:"insecure_skip_verify,attr,optional"` RequestLimit int `river:"concurrent_request_limit,attr,optional"` AllowStale bool `river:"allow_stale,attr,optional"` RequireConsistent bool `river:"require_consistent,attr,optional"` KVPrefix string `river:"kv_prefix,attr,optional"` KVFilter string `river:"kv_filter,attr,optional"` HealthSummary bool `river:"generate_health_summary,attr,optional"` }
Arguments controls the consul_exporter exporter.
func (*Arguments) Convert ¶ added in v0.33.0
func (a *Arguments) Convert() *consul_exporter.Config
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.