sapling/eden/mononoke/server
Stanislau Hlebik 62f843f0e5 mononoke: preserve the rest of Logging fields when calling with_mutated_scuba
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
2021-04-23 05:57:18 -07:00
..
context mononoke: preserve the rest of Logging fields when calling with_mutated_scuba 2021-04-23 05:57:18 -07:00
monitoring rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
qps rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
repo_listener rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
session_id rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
src mononoke/cmdlib: remove public-facing add_scribe_logging_args API 2021-04-16 10:27:44 -07:00
Cargo.toml rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00