You've already forked mysqld_exporter
mirror of
https://github.com/prometheus/mysqld_exporter.git
synced 2025-07-30 06:43:05 +03:00
Fix minor golint issues.
This commit is contained in:
@ -30,6 +30,7 @@ var (
|
||||
)
|
||||
)
|
||||
|
||||
// ScrapeBinlogSize colects from `SHOW BINARY LOGS`.
|
||||
func ScrapeBinlogSize(db *sql.DB, ch chan<- prometheus.Metric) error {
|
||||
var logBin uint8
|
||||
err := db.QueryRow(logbinQuery).Scan(&logBin)
|
||||
|
Reference in New Issue
Block a user