-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize Process
to include extra global states
#4195
Comments
Right, I remember we discussed with @rbtcollins whether there was value in the OpenTelemetry support and he argued that it was very helpful for him the few times he needed it. I'm basically still not sure there is much value in the OpenTelemetry support that we've got and apparently may have broken it inadvertently. I feel like, unless it's used regularly -- and it hasn't been for a few years at this point I guess -- it may be better to remove the feature altogether because it definitely has maintenance costs. Can always add it back when we need it, and I'm not sure fixing it now when we don't is a good way to use our time. |
@djc My mind hasn't changed too much since that discussion: I think we should at least have a way to obtain the timeline view lest some perf-critical regression happens (esp. regarding the diskio module). I don't particularly care what form that timeline view will be implemented, but reading the console traces just... feels wrong in this particular case. OTOH Again I'm looking at something like tokio-rs/console#129, but before that is implemented, maybe we can use another well-known backend such as the Chromium Tracing Tab that's more stable than |
This was part of the original plan after #3803, but we probably have put it aside for a while:
In #4182 (comment), I've noticed that the current
Process
abstraction should probably be extended to allow the existence of atracing_subscriber
global state, so that we can handle graceful shutdown more easily.Having noticed the clear pattern here:
rustup/src/bin/rustup-init.rs
Lines 44 to 53 in 52e6070
... it should probably be modeled as an RAII guard.
I have also noticed that this should resolve another problem, i.e. the corresponding construct in tests is simply no longer used, as these two functions no longer have a caller:
rustup/src/test.rs
Lines 235 to 250 in 52e6070
This is most probably caused by the removal of
rustup_macros
(d60f005): indeed, the tests are passing on the CI, but sometimes one might want to run tests withotel
on as well.@djc What do you think?
The text was updated successfully, but these errors were encountered: