mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
62f843f0e5
Summary: Currently when we call with_mutated_scuba() we create a new LoggingContainer. That means that all the data from the previous LoggingContainer like PerfCounters is lost. I suspect this is the reason we don't log any BlobGets/Puts for repo_create_commit methods (see [scuba](https://fburl.com/scuba/mononoke_scs_server/fautos3s)) - we call [with_mutated_scuba method](https://fburl.com/code/srd1c4xu) right before calling repo_create_commit(), and I suspect this loses the counters. Let's instead copy all the Logging fields when calling `with_mutated_scuba`. Reviewed By: krallin Differential Revision: D27964719 fbshipit-source-id: 881c11bb5fb1927dbf55d0d625ea8bfbf11be131 |
||
---|---|---|
.. | ||
context | ||
monitoring | ||
qps | ||
repo_listener | ||
session_id | ||
src | ||
Cargo.toml |