nblumhardt/serilog-timings

Nested Timings

stephenpatten opened this issue · 5 comments

Nested timings don't seem to pick up the parent OperationId when using Enrich.FromLogContext(), any ideas

The idea I was thinking of implementing a pull request for this was to copy the current OperationId into a ParentOperationId when a nested operation occurs. Have yet to check if this is possible in the code.

Closing as it's been around for a while now, still open to giving this one a shot if anyone decides to pick it up :-) Cheers!

Hi Nicholas, after all, what do you recommend for timing nested operations?

@mma42300 Hi! No current solution/opinions - using a hierarchical identifier for operation ids might be worth investigating 🤔

@nblumhardt OK, thanks!