forgejo/routers/web/admin
Gusted 3f44b97b5f
feat: add limited execution tracing support
- For every process that is spawned (every new non-trivial goroutine
such as http requests, queues or tasks) start a [execution
tracer](https://pkg.go.dev/runtime/trace). This allows very precise
diagnosis of how each individual process over a time period.
- It's safe and [fast](https://go.dev/blog/execution-traces-2024#low-overhead-tracing) to
be run in production, hence no setting to disable this. There's only
noticable overhead when tracing is actually performed and not continuous.
- Proper tracing support would mean the codebase would be full of
`trace.WithRegion` and `trace.Log`, which feels premature for this patch
as there's no real-world usage yet to indicate which places would need
this the most. So far only Git commands and SQL queries receive somewhat
proper tracing support given that these are used throughout the codebase.
- Make git commands a new process type.
- Add tracing to diagnosis zip file.
2025-01-05 04:07:49 +01:00
..
admin.go Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
admin_test.go Makefile: check git diff exit-code (#2651) 2024-03-14 10:38:58 +00:00
applications.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
auths.go feat: add synchronization for SSH keys with OpenID Connect 2024-12-09 18:59:11 +03:00
config.go [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
diagnosis.go feat: add limited execution tracing support 2025-01-05 04:07:49 +01:00
emails.go Support delete user email in admin panel (#31690) 2024-07-28 09:00:29 +02:00
hooks.go Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notice.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
orgs.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
queue.go s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
queue_tester.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
repos.go Add missed return after ctx.ServerError (#31130) 2024-06-02 16:26:54 +02:00
runners.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
stacktrace.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
users.go Merge pull request 'fix: use ValidateEmail as binding across web forms' (#5158) from solomonv/consolidate-email-validation into forgejo 2024-10-21 14:31:32 +00:00
users_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00