Closed EEParker closed 7 months ago
Sample app reproduction and fix success.
Package | Line Rate | Branch Rate | Health |
---|---|---|---|
Serilog.Sinks.Splunk.TCP | 65% | 43% | ➖ |
Serilog.Sinks.Splunk | 19% | 19% | ❌ |
Serilog.Sinks.Splunk | 49% | 63% | ❌ |
Summary | 42% (334 / 818) | 44% (86 / 208) | ❌ |
Implement changes from https://github.com/serilog/serilog/pull/1955
@EEParker overwriting the current TraceIdentifier won't break anything right? Not an expert on that but that's for the entire request right? Would that affect any other middleware?
Are you referring to the sample app? That is to add a fake traceid since it isn't running aspnetcore. The actual sink is just adding the missing fields from the upstream generic json sink.
I was looking at this on my phone and didn't see what app the file was in, looks good!
This PR adds a reproduction for #195 to the sample project.