Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Address: "http://localhost:9200", Timeout: 5 * time.Second, Node: "_local", ExportClusterInfoInterval: 5 * time.Minute, IncludeAliases: true, }
DefaultArguments holds non-zero default options for Arguments when it is unmarshaled from river.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Address string `river:"address,attr,optional"` Timeout time.Duration `river:"timeout,attr,optional"` AllNodes bool `river:"all,attr,optional"` Node string `river:"node,attr,optional"` ExportIndices bool `river:"indices,attr,optional"` ExportIndicesSettings bool `river:"indices_settings,attr,optional"` ExportClusterSettings bool `river:"cluster_settings,attr,optional"` ExportShards bool `river:"shards,attr,optional"` IncludeAliases bool `river:"aliases,attr,optional"` ExportSnapshots bool `river:"snapshots,attr,optional"` ExportClusterInfoInterval time.Duration `river:"clusterinfo_interval,attr,optional"` CA string `river:"ca,attr,optional"` ClientPrivateKey string `river:"client_private_key,attr,optional"` ClientCert string `river:"client_cert,attr,optional"` InsecureSkipVerify bool `river:"ssl_skip_verify,attr,optional"` ExportDataStreams bool `river:"data_stream,attr,optional"` ExportSLM bool `river:"slm,attr,optional"` BasicAuth *commonCfg.BasicAuth `river:"basic_auth,block,optional"` }
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *elasticsearch_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.