Tracing in TiDB 浅谈全链路监控:
从应用到数据库到 Runtimeunderstanding of certain execution paths. https://github.com/golang/proposal/blob/master/design/17280-profile-labels.md 喜闻乐见的 pprof 变得更强大了 labels := pprof.Labels("worker", "purge") pprof.Do(ctx, labels, func(ctx pprof 对性能损耗太大 答:走得远了,不要忘了我们为什么出发,我们不是做 profile, tracing 可以采样 func Run() { go startCPUProfileWorker() go startAnalyzeProfileWorker() // 另一个 goroutine 异步分析 profile 结果 } func startCPUProfileWorker() pprof.StartCPUProfile(buf); err != nil { return } // 就 profile 一秒 sp.sleep(time.Second * 1) pprof.StopCPUProfile() taskCh <- buf // 将结果 profile 结果异步提交给 AnalyzeProfileWorker } } avg QPS 损耗 avg P99 Duration0 码力 | 39 页 | 3.43 MB | 1 年前3
TiDB v7.5 Documentationheap �→ profile in the instance environment. Starting from v7.5.0, TiKV �→ enables remote processing of heap profiles. You can now directly �→ access the flame graph and call graph of heap profile. This generate a heap profile in the instance environment. Starting from v7.5.0, TiKV enables remote processing of heap profiles. You can now directly access the flame graph and call graph of heap profile. This feature installed TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v7.6 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal == Have a try: tiup playground =============================================== Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in 99 the following source command according to the path. In this case, $ �→ {your_shell_profile} is /Users/user/.zshrc from0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v6.1 Documentationsuccessfully: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal == Have a try: tiup playground =============================================== Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, $ �→ {your_shell_profile} is /Users/user/.zshrc from0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v5.3 Documentationtroubleshooting time. This feature is disabled by default and needs to be enabled on the Continuous Profile page of TiDB Dashboard. This feature is only available for clusters upgraded or installed using displays the absolute path of the correspond- ing profile file. You need to modify the following source command according to the path. source .bash_profile 3. Start the cluster in the current session: displays the absolute path of the correspond- ing profile file. You need to modify the following source command according to the path. source .bash_profile 3. Start the cluster in the current session:0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v8.5 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal Have a try: tiup playground =============================================== 119 Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, ${your �→ _shell_profile} is /Users/user/.zshrc from0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal == Have a try: tiup playground =============================================== Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, ${your �→ _shell_profile} is /Users/user/.zshrc from0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal == Have a try: tiup playground =============================================== Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, ${your �→ _shell_profile} is /Users/user/.zshrc from0 码力 | 6606 页 | 109.48 MB | 10 月前3
TiDB v8.4 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal Have a try: tiup playground =============================================== 114 Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, ${your �→ _shell_profile} is /Users/user/.zshrc from0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.1 Documentationinstalled TiUP: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: zsh Shell profile: /Users/user/.zshrc /Users/user/.zshrc has been modified to add tiup to PATH open a new terminal == Have a try: tiup playground =============================================== Note the Shell profile path in the output above. You need to use the path in the next step. 2. Declare the global environment the correspond- ing Shell profile file. You need to modify ${your_shell_profile} in the following source command according to the path. In this case, ${your �→ _shell_profile} is /Users/user/.zshrc from0 码力 | 6479 页 | 108.61 MB | 10 月前3
共 34 条
- 1
- 2
- 3
- 4













