Be able to switch off Activities, Diagnostics and Metrics
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
The number of metrics, diagnostics and activities has been steadily increasing; including for back compat of previous depreciated diagnostics (most handled by `HostingApplicationDiagnostics`); however there is no easy way to switch this off other than completely re-writing your own WebHost (as per https://github.com/NethermindEth/nethermind/pull/8879)
### Describe the solution you'd like
Be able to switch of the diagnostic types explicitly and short circuit these paths (e.g. might just want to switch off Activity creation)
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.