Commit Graph

16 Commits

Author SHA1 Message Date
93a18dfdc5 metrics: add percentage of CPU usage gauge (#8539) (#8580) 2018-12-05 14:47:04 +08:00
e7e31fae3f *: add preparedStmt metric and add limit to max prepareStmt (#8405) 2018-11-28 20:37:50 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
0f8ee9df48 metric: add slow log metric (#7759) 2018-09-25 13:26:29 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
4212e44c03 metrics: register the metrics when TiDB starting up (#7642) 2018-09-10 20:19:07 +08:00
8c44f562f5 metrics: add different labels for restricted SQL and general SQL (#7631)
The newly added label is `sql_type`, it has value: `general` and `internal`,
users can use this label to filter metrics they have interest.

Also, add keyword `[INTERNAL]` for restricted SQL printed in slow log for
convenient identification.
2018-09-07 14:23:48 +08:00
a7ae09b8e1 metrics,server: add a get_token_duration_seconds metrics (#7110)
* metrics,server: add a get_token_duration_seconds metrics
2018-07-23 14:29:19 +08:00
fecd91a530 server: do not log on handshake error (#6552)
Load balancers connects to TiDB server and close immediately, we don't need to log them.
2018-05-15 13:45:11 +08:00
365619d66b *: add metrics for queries using plan cache (#6195) 2018-04-01 18:03:16 +08:00
80f3db9790 *: move metrics from main.go to metrics package (#5876) 2018-02-13 14:55:31 +08:00
0157fe5e70 metrics: unify metrics naming (#5863) 2018-02-11 18:31:38 +08:00
e5ffc40240 metrics: Clean up metrics (#5858) 2018-02-11 15:37:18 +08:00
eb71063db1 metrics, ddl, server: Add metrics for ddl and server (#5840)
DDL: is owner
Server events: start/stop/kill/hang
2018-02-09 16:08:49 +08:00
14a9a3df76 server, metrics: move and refine server metrics (#5766) 2018-02-01 19:04:31 +08:00