Documentation ¶
Index ¶
Constants ¶
View Source
const ( MAX_DATA_MSG = 100 THROTTLE_CODE = 299 )
View Source
const ( MAX_ABSTRACT = 100 // query_classes.abstract MAX_FINGERPRINT = 5000 // query_classes.fingerprint )
Variables ¶
View Source
var ClassCols []string = []string{
`query_class_id`,
`instance_id`,
`start_ts`,
`end_ts`,
`query_count`,
`lrq_count`,
}
View Source
var GlobalCols []string = []string{
`instance_id`,
`start_ts`,
`end_ts`,
`run_time`,
`total_query_count`,
`unique_query_count`,
`rate_type`,
`rate_limit`,
`log_file`,
`log_file_size`,
`start_offset`,
`end_offset`,
`stop_offset`,
}
Functions ¶
Types ¶
type MetricWriter ¶
type MySQLMetricWriter ¶
type MySQLMetricWriter struct {
// contains filtered or unexported fields
}
func NewMySQLMetricWriter ¶
Click to show internal directories.
Click to hide internal directories.