Commit Graph

47 Commits

Author SHA1 Message Date
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
c01f1a3c5f config: change tidb_top_sql_agent_address to config top-sql.receiver-address (#28135) 2021-09-22 17:48:45 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
acf7232069 go.mod: change github.com/uber-go/atomic to go.uber.org/atomic (#26508) 2021-09-17 11:42:42 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
310007797c util/topsql/reporter: migrate test-infra to testify (#26721) 2021-08-03 19:11:06 +08:00
de691e2609 util/topsql: migrate test-infra to testify (#26690) 2021-08-02 19:11:06 +08:00
ecfdf703b2 *: make test TestCollectInternal stable (#26346) 2021-07-20 16:27:35 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
0752869945 topsql: add others to record all evicted item's data (#25910) 2021-07-15 15:51:33 +08:00
fee39d3242 metrics: add metrics for top sql (#25805) 2021-07-05 11:03:28 +08:00
fac17a254e topsql: use new cache policy for top-n SQL (#25744) 2021-06-29 20:35:25 +08:00
9c1e47a8ff topsql: update tipb for topsql (#25801) 2021-06-29 10:57:26 +08:00
9e8bb505e1 test: make test TestTopSQLCPUProfile stable by mock high cpu usage (#25702) 2021-06-25 19:55:24 +08:00
7cafe813a0 server: try to make test TestTopSQLAgent stable (#25399) 2021-06-21 16:38:53 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
acdacf186a util: add top sql collector (#24988) 2021-06-04 22:56:28 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00