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 alloytypes.Secret `alloy:"connection_string,attr"` MaxIdleConns int `alloy:"max_idle_conns,attr,optional"` MaxOpenConns int `alloy:"max_open_conns,attr,optional"` QueryTimeout int `alloy:"query_timeout,attr,optional"` CustomMetrics alloytypes.OptionalSecret `alloy:"custom_metrics,attr,optional"` }
Arguments controls the oracledb exporter.
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *oracledb_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.