{"repo":"kolloch/reqray","free":true,"listed":false,"github":"https://github.com/kolloch/reqray","clone":"git clone https://github.com/kolloch/reqray.git","description":"Log call tree summaries after each request for rust programs instrumented with `tracing`.","language":"Rust","stars":45,"topics":["rust","rust-lang","rust-library","tracing","tracing-library","logging","calltree"],"license":null,"category":"analytics","readme_excerpt":"Reqray Log \"request x-rays\" for rust programs instrumented with tracing. This includes aggregated wall/own times as frequently found in flame graphs in a human-friendly text format. To deploy it, you don't need some complicated services, just some local code added to your instrumented program. This makes answers to these question often trivial to answer: What part of the request takes the most time? How many DB requests am I performing? Does the DB request aggregation work? How far did the execution get before the error that aborted the request? It looks like this: calls : The total number of spans created at this call path. ∑ alive ms : The total time spans at this call path were alive i.e. sum of times between new and close events. ∑ busy ms : The total time spans at this call path were entered i.e. sum of times between enter and leave events. ∑ own busy ms : The total time spans at this call path were entered without any children entered. It looked like this until 0.3.x: Setup For a quick startm, add/edit these [dependencies] in Cargo.toml : And add/edit your tracing layer setup: Instead of CallTreeCollector::default() you can chose a more explicit config: Compatibility with tracing-subscriber 0.2 Use reqray 0.2.x for integration with tracing-subscriber 0.2.x. Otherwise, the API should be identical. E.g. color eyre 0.5.x depends on tracing-error 0.1.x which requires tracing-subscriber 0.2. Overhead I did basic performance testing (see benches) to check for obvious gotchas ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kolloch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kolloch/reqray/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}