This repo contains Go packages to help build tools for MySQL. For example, there's a slow log parser and a query fingerprinter. Feedback, pull requests, and bug reports are welcome.
http://godoc.org/github.com/percona/go-mysql
Package | Contains |
---|---|
event | Aggregator and metric stats |
log | Event struct and log parser interface |
log/slow | Slow log parser |
query | Fingerprinter and ID |
test | Sample data |
Packages are not versioned. Interfaces, data structures, and overall usage are subject to change without notice.
To test these packages locally, you'll need:
- github.com/go-test/test
- gopkg.in/check.v1