Commit Graph

51 Commits

Author SHA1 Message Date
357f9d7363 metrics: add db QPS metric (#9151) 2019-02-13 19:17:44 +08:00
8431d1112e stats: add metircs for high error rate feedback (#9209) 2019-02-12 17:22:20 +08:00
319656c407 tikvclient: support to batch grpc message to TiKVs (#8986) 2019-01-14 13:59:15 +08:00
351c4a5568 *: refine commit txn slow log (#8731) 2018-12-25 20:49:50 +08:00
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
877cbd33c7 *: spilt the internal SQLs in the transaction related metrics (#8255) 2018-11-09 20:47:36 +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
54b526af17 ddl: add TiDB version to metrics (#7902) 2018-10-18 15:15:29 +08:00
0f8ee9df48 metric: add slow log metric (#7759) 2018-09-25 13:26:29 +08:00
16864f95b4 ddl, metrics: remove DDL version in metrics (#7737) 2018-09-23 22:58:20 +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
3af92ab208 ddl, metrics: update metrics (#7472) 2018-08-27 15:05:31 +08:00
6178cfd225 *: fixed some typo. (#7277) 2018-08-05 13:50:51 +08:00
30a6cc305b ddl, metrics: add worker info to the log (#7201) 2018-08-03 11:15:26 +08:00
fd7e5274b6 executor: panic recover for analyze worker (#7214) 2018-08-01 16:57:20 +08:00
8b913c95ef *: rename "GetDDLJob" to "GetDDLJobByIdx" (#7129) 2018-07-25 14:28:45 +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
0ab0b50f25 stats: refine the pseudo condition for stats (#6565) 2018-06-27 17:05:37 +08:00
bec5f3b047 ddl: wait for a while when some error occured to avoid retrying too many times. (#6601) 2018-05-30 22:14:58 +08:00
d890ee682b *: add check when watching (#6671)
* *: add check when watching
2018-05-30 21:48:35 +08:00
4607251d23 metrics:fix add index duration bucket dosen't work (#6478)
* fix add index duration bucket dosen't work
2018-05-28 10:33:00 +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
33ca87f31e metric: remove useless TiKVCoprocessorCounter from codebase (#6492) 2018-05-08 11:24:20 +08:00
2dbab722e6 metric: rename CreateDDL to CreateDDLInstance (#6480) 2018-05-07 13:08:18 +08:00
b51b0dec65 stats: add metrics for dynamic update (#6278) 2018-04-13 09:21:15 +08:00
365619d66b *: add metrics for queries using plan cache (#6195) 2018-04-01 18:03:16 +08:00
d2709af9e7 owner: add recover panic in owner campaignLoop. (#5904) 2018-02-26 15:02:46 +08:00
80f3db9790 *: move metrics from main.go to metrics package (#5876) 2018-02-13 14:55:31 +08:00
a687650c9f metrics,tidb: add StatementsPerTransaction and TransactionDuration (#5859) 2018-02-11 21:01:37 -06:00
b7f6e4ac73 metrics: rename _count to _num (#5868)
Prometheus has a builtin suffix `_count` for histogram metrics, change `_count` to `_num` to avoid conflict.
2018-02-11 20:16:41 +08:00
cd0fca62d0 metrics, plan: add a metric for pseudo estimation. (#5861) 2018-02-11 18:45:04 +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
619ce5df09 domain,metrics: move domain metrics, add privilege load counter (#5855) 2018-02-11 00:14:28 -06: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
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
d560831b09 ddl, metrics: Add metrics for ddl worker. (#5823) 2018-02-08 22:01:00 +08:00
1aaef047fa stats: add metrics for stats (#5785) 2018-02-07 17:59:50 +08:00
be6af8f071 owner, metrics: add metrics (#5779) 2018-02-06 15:06:21 +08:00
6f4ef27baa metrics, store/tikv: refine tikv client metrics (#5780) 2018-02-05 11:06:42 +08:00
2f113b1573 metrics: fix inconsistent label for panic counter (#5783) 2018-02-05 10:53:19 +08:00
4d954e23d8 ddl, metrics: Move DDL metrics from ddl package to metrics package (#5781) 2018-02-05 10:14:03 +08:00
23bff274a0 distsql, metrics: refine distsql metrics. (#5774)
Refine distsql metrics && Add scan keys metrics.
2018-02-02 21:53:22 +08:00
4db4b45e4a meta: Add metrics for meta package (#5770) 2018-02-02 14:27:55 +08:00
c5ca3a950a tidb, metrics: update metrics for session. (#5762)
Move metrics to `metrics` package, and two more, fix retry count metrics.
2018-02-01 21:44:05 +08:00
14a9a3df76 server, metrics: move and refine server metrics (#5766) 2018-02-01 19:04:31 +08:00