selfmon

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func End

func End()

End release SELF_MON process

func Init

func Init(cfg *config.SelfMonConfig)

func SendDiscoveryMetrics added in v0.2.0

func SendDiscoveryMetrics(discovered_all int,
	discovered_new int,
	discovered_current int,
	undiscovered int,
	connect_error int,
	connet_skip int,
	discovered_new_str []string,
	undiscovered_str []string,
	err_con_sids []string,
	skipped_con_sids []string,
)

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

func SendSQLDriverStat(inst string, s sql.DBStats)

func SetLogger

func SetLogger(l *logrus.Logger)

SetLogger set log SELF_MON

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL