diff options
| author | bors <bors@rust-lang.org> | 2024-01-30 17:42:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-30 17:42:47 +0000 |
| commit | d923d620f2217f6e7f557a66999556a5c27962f4 (patch) | |
| tree | 8e5a65fd3118c79c72b8ce84311bb817840e9258 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 63123ab4081374853d8ec76e0d6c05b331276703 (diff) | |
| parent | e1ea7c8844af31ec55e81acaa9a71508085a5aae (diff) | |
| download | rust-d923d620f2217f6e7f557a66999556a5c27962f4.tar.gz rust-d923d620f2217f6e7f557a66999556a5c27962f4.zip | |
Auto merge of #16394 - davidbarsky:david/add-more-tracing-spans, r=Veykril
internal: add some `tracing` to {Request, Notification}Dispatch
Some of the tracing config would need to be changed in order to benefit more from this (especially `.with_span_events(FmtSpan::CLOSE)`), which provides span events like the following:
```
2024-01-18T02:41:06.675779Z INFO request{method="textDocument/codeLens" request_id=RequestId(I32(17))}: rust_analyzer::dispatch: close time.busy=61.8µs time.idle=5.29µs
```
I dunno if y'all need `LoggerFormatter` in here, but if you don't, I'd be happy to yeet it out of rust-analyzer. In any case, this provided a pretty decent amount of information in the logs, and I can expand this as needed or we can land this PR and expand later.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
