datalust / serilog-sinks-seq

A Serilog sink that writes events to the Seq structured log server
https://datalust.co/seq
Apache License 2.0
239 stars 50 forks source link

Default the sink to not tracing its own outbound requests, when possible #210

Closed nblumhardt closed 8 months ago

nblumhardt commented 8 months ago

In apps that use tracing (any ActivityListener-based implementation), HttpClient can generate spans for outbound HTTP requests by default. The periodic requests from this sink end up creating noisy, unhelpful spans.

This PR switches that behavior off by default, on .NET 6 and later.