Commit Graph

66 Commits

Author SHA1 Message Date
a62bee1034 store: add rateLimiter into txn commit batch actions (#11817) 2019-08-28 11:08:35 +08:00
3d6c561952 metric, tikv: record duration for each backoff type (#11710) 2019-08-13 15:02:57 +08:00
e09745bd02 metrics: add metrics for bind info (#10921)
All tests passed, auto merged by Bot
2019-07-26 20:19:03 +08:00
1768bf401b metrics: add missing tikv_txn_cmd_counter (#11292)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-07-18 16:20:17 +08:00
53f8a2c366 executor, metrics: add metrics for fast analyze. (#11079) 2019-07-11 14:36:28 +08:00
21d2590ac3 tikvclient: fix a bug that double close channels. (#10991) 2019-07-05 16:53:40 +08:00
697ba85aa3 store/tikv: Continue GC when error happens during UnsafeDestroyRange (#10743)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2019-06-21 14:38:37 +08:00
d23b894c69 ddl: Remove expired keys on PD (#10406) 2019-06-20 13:47:52 +08:00
148c5fa12f store/tikv/gcworker: Make resolveLock concurrent (#10379) 2019-05-16 13:07:25 +08:00
edf9ec9c9a metrics: add comments for metrics ranges (#10279) 2019-05-13 18:37:40 +08:00
834d8fbfb8 metrics: Fix a metrics that is not registered (#10408) 2019-05-09 21:44:42 +08:00
9c8396e789 metrics,store/tikv: add a duration metric for tikv batch client unavailable (#10212) 2019-04-23 11:08:22 +08:00
e59539505a plan, executor: pre with labels for metrics in plan/executor package (#10231) 2019-04-22 21:50:59 +08:00
f6a36e0b36 metrics: improve ut coverage to 100% (#10066) 2019-04-09 10:17:41 +08:00
5c7e70e7f5 metrics: adjust the parse & compile duration metrics (#9925)
From current observation, parse cost more than 160us in general,
and compile may take long if it involves subquery or allocate table ID.
Adjust related metrics to be more accurate.
2019-03-28 13:23:14 +08:00
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