Documentation
¶
Index ¶
- func End()
- func Init(cfg *config.SelfMonConfig)
- func SendDiscoveryMetrics(discovered_all int, discovered_new int, discovered_current int, ...)
- func SendQueryStat(extraLabels map[string]string, mgc *config.OracleMetricGroupConfig, ...)
- func SendSQLDriverStat(inst string, s sql.DBStats)
- func SetLogger(l *logrus.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(cfg *config.SelfMonConfig)
func SendDiscoveryMetrics ¶ added in v0.2.0
func SendQueryStat ¶
func SendQueryStat(extraLabels map[string]string, mgc *config.OracleMetricGroupConfig, mc *config.OracleMetricConfig, n int, t time.Duration)
func SendSQLDriverStat ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.