Commit Graph

67 Commits

Author SHA1 Message Date
76153ab9ff lint: update config of deprecated linter (#40763)
ref pingcap/tidb#40786
2023-01-28 11:57:53 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
7286061bc9 *: enable fieldalignment (#35802) 2022-08-24 15:56:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +08:00
ec9f201294 topsql: compress plan instead of dropping it (#35973)
ref pingcap/tidb#35964
2022-07-06 16:03:02 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
9e7c9519da topsql: fix memory leak in stmtstats (#34558)
ref pingcap/tidb#34502, ref pingcap/tidb#34525
2022-05-11 16:48:34 +08:00
fb342ff861 topsql: fix issue of topsql failed catch the running SQL when topsql is enabled in execution (#33861)
close pingcap/tidb#33859
2022-04-26 13:16:51 +08:00
8f5582a1ef topsql: make TestPProfCPUProfile test stable (#33810)
close pingcap/tidb#33808
2022-04-13 18:44:36 +08:00
5c931aadc8 Revert "topsql: enable topsql feature by default (#33195)" (#33493)
close pingcap/tidb#33492
2022-03-28 22:44:27 +08:00
44cf3986e3 topsql: enable topsql feature by default (#33195)
close pingcap/tidb#33194
2022-03-17 15:26:31 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
5170f2f414 topsql: add more test case for topsql (#32410)
close pingcap/tidb#32405
2022-03-11 17:43:51 +08:00
2ede6a35b8 topsql: make unit test stable (#32463)
close pingcap/tidb#32461
2022-02-21 15:37:42 +08:00
1254140e61 topsql: fix unstable test in reporter (#32464)
close pingcap/tidb#32002
2022-02-21 12:31:41 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
257282f767 util/topsql: fix goroutine leak in test (#31959)
close pingcap/tidb#31960
2022-01-26 16:08:45 +08:00
b228c189cc topsql: try to reduce Plan Not Available (#31549)
close pingcap/tidb#31548
2022-01-24 16:00:12 +08:00
48a32aa323 topsql: fix typo (#31917)
ref pingcap/tidb#31716
2022-01-24 15:10:10 +08:00
453535600f util/topsql: remove unused functions (#31877)
ref pingcap/tidb#28720, ref pingcap/tidb#31192
2022-01-21 17:55:46 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
5484ce90e1 topsql: fix race in test (#31714)
close pingcap/tidb#31713
2022-01-18 11:57:45 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
522452fe3f topsql: do not aggregate when topsql is not enabled (#31705)
ref pingcap/tidb#31704
2022-01-14 20:37:42 +08:00
c2279cee83 cpuprofile: make sure the cpu profile will be produced each second (#31531) 2022-01-13 20:13:43 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
8c70432b00 topsql: add exec count dedicated to sql duration (#31378)
close pingcap/tidb#31379
2022-01-08 01:20:38 +08:00
f7663a881c topsql: fix data race in reporter test (#31440)
close pingcap/tidb#31439
2022-01-07 20:56:37 +08:00
09f023889d topsql: fix data race in reporter test (#31340)
close pingcap/tidb#31251
2022-01-07 02:00:37 +08:00
02222532b9 topsql: fix data race in the topsql_test (#31244)
close pingcap/tidb#31243
2022-01-04 19:24:35 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
74ef32ace2 topsql: remove do topN before report (#31192) 2021-12-31 14:17:51 +08:00
25d6301327 *: fix bug of profiling conflict between TopSQL and pprof profile HTTP API (#30891)
close pingcap/tidb#30890
2021-12-31 11:07:50 +08:00
8a83d01ac6 topsql: add sql sum execution duration information (#31143) 2021-12-30 10:53:50 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
7e2d12c2fd topsql: refactor reporter and add reporting part of stmtstats (#30954) 2021-12-29 14:53:50 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
a8a858bac2 topsql: add pubsub datasink (#30860) 2021-12-21 16:17:47 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
c0888f5421 topsql: support multiple datasinks (#30808) 2021-12-18 00:32:36 +08:00
d208b62025 topsql: a centralized place to generate tipb report data (#30781) 2021-12-16 16:06:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
12e2288440 topsql: shouldn't evict the SQL meta, since the evicted SQL can be appear on Other components (TiKV) TopN records (#27050) 2021-12-13 20:58:35 +08:00
ce2c45b40a *: fix panic when pprof profile (#29007) 2021-10-26 14:28:48 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00