3 Commits

Author SHA1 Message Date
Lunny Xiao
1b2dffff8e
Add global lock for migrations to make upgrade more safe with multiple replications () 2025-03-07 21:08:53 +00:00
wxiaoguang
7069369e03
Support performance trace ()
1. Add a OpenTelemetry-like shim-layer to collect traces
2. Add a simple builtin trace collector and exporter, end users could
download the diagnosis report to get the traces.

This PR's design is quite lightweight, no hard-dependency, and it is
easy to improve or remove. We can try it on gitea.com first to see
whether it works well, and fine tune the details.

---------

Co-authored-by: silverwind <me@silverwind.io>
2025-01-21 18:57:07 +00:00
wxiaoguang
1c9b022c4d
Refactor db package and remove unnecessary DumpTables () 2024-12-20 16:11:38 +00:00