Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemDef ¶
type ItemDef struct { Name string `toml:"name"` Type string `toml:"type"` ColumnPos int `toml:"column_pos_sql"` }
ItemDef - define fields and tags with type for flush to influxdb
type ORADB ¶
type ORADB struct { DSN string DB *sql.DB IsRAC int8 StmtMap map[string]*STMT //MeasureName : stmt // contains filtered or unexported fields }
ORADB --
type OraQuery ¶
type OraQuery struct { MaxOpenConns int `toml:"max_dbconns"` SQLMetrics []*SQLMetric `toml:"metrics"` DSNDefines []*DSNDefine `toml:"dsn_defines"` SQLDefines []*SQLDefine `toml:"sql_defines"` ReconnIntervalSec int `toml:"reconn_interval_second"` //TimeFunc Log telegraf.Logger // contains filtered or unexported fields }
OraQuery is an input plugin that collects external metrics sent via HTTP
func (*OraQuery) Description ¶
Description -- input interface function
func (*OraQuery) Gather ¶
func (O *OraQuery) Gather(_ telegraf.Accumulator) error
Gather -- input interface function. Not use it in this service.
func (*OraQuery) SampleConfig ¶
SampleConfig -- input interface function
func (*OraQuery) StartContext ¶
StartContext -- start the service. invoked by telegraf framwork
Click to show internal directories.
Click to hide internal directories.