Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
MaxIdleConns: 0,
MaxOpenConns: 10,
QueryTimeout: 5,
}
DefaultArguments holds the default settings for the oracledb exporter
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { ConnectionString rivertypes.Secret `river:"connection_string,attr"` MaxIdleConns int `river:"max_idle_conns,attr,optional"` MaxOpenConns int `river:"max_open_conns,attr,optional"` QueryTimeout int `river:"query_timeout,attr,optional"` }
Arguments controls the oracledb exporter.
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *oracledb_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.