element-hq / element-hq/synapse
Reload opentracing config on SIGHUP
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#13351](https://github.com/matrix-org/synapse/issues/13351).
---
We have just had an example on matrix.org where we wanted to add a new user to `force_tracing_for_users` to profile performance problems. We can't do this without restarting workers. It'd be great if we can just ask Synapse to reload things nicely with a SIGHUP.
Contributor guide
Research direction
Start by locating Synapse's force_tracing_for_users configuration and the existing worker signal-handling path for SIGHUP. Determine how configuration is loaded across workers and verify that adding a user to the tracing list takes effect after SIGHUP without restarting workers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100