Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( START_STATEMENTS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_STATEMENTS_GAUGE", Help: "", }) START_STATEMENT_LATENCY_IN_S_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_STATEMENT_LATENCY_IN_S_GAUGE", Help: "", }) START_FILE_IO_LATENCY_IN_S_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_FILE_IO_LATENCY_IN_S_GAUGE", Help: "", }) START_CURRENT_CONNECTIONS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_CURRENT_CONNECTIONS_GAUGE", Help: "", }) START_DATABASE_SIZE_IN_MB_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_DATABASE_SIZE_IN_MB_GAUGE", Help: "", }) START_STATEMENT_AVG_LATENCY_IN_MS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_STATEMENT_AVG_LATENCY_IN_MS_GAUGE", Help: "", }) START_APPLICATION_ID_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_APPLICATION_ID_GAUGE", Help: "", }) START_FILE_IOS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_FILE_IOS_GAUGE", Help: "", }) START_TABLE_SCANS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_TABLE_SCANS_GAUGE", Help: "", }) START_DATA_SOURCE_ID_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_DATA_SOURCE_ID_GAUGE", Help: "", }) START_USECASE_IDENTIFIER_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_USECASE_IDENTIFIER_GAUGE", Help: "", }) START_UNIQUE_USERS_GAUGE = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "START_UNIQUE_USERS_GAUGE", Help: "", }) )
Functions ¶
func CreateStopMetrics ¶
func CreateStopMetrics(arr []string)
func GetPrometheusRegisteredMetrics ¶
func GetPrometheusRegisteredMetrics() string
stopmetrics["STOP_SQL_PER_SEC_GAUGE"] = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "STOP_SQL_PER_SEC_GAUGE", Help: "", }, []string{ "databse", "usecase", "starttimestamp", }, ) return stopmetrics }
func RecordReport ¶
func RecordReport(body []byte)
func RecordStopMetrics ¶
func RecordStopMetrics(body []byte)
func TableanalysisReport ¶
func TableanalysisReport(body []byte)
func TableanalysisReportReg ¶
func TableanalysisReportReg(body []byte)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.