gitea/routers
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>
..
api Only allow admins to rename default/protected branches ()
common Support performance trace ()
install Refactor request context ()
private Automerge supports deleting branch automatically after merging ()
utils Refactor older tests to use testify ()
web Support performance trace ()
init.go Prepare for support performance trace ()