serilog-sinks-opentelemetry icon indicating copy to clipboard operation
serilog-sinks-opentelemetry copied to clipboard

Provide a hook to call `OpenTelemetry.SuppressInstrumentationScope.Begin`

Open nblumhardt opened this issue 6 months ago • 2 comments

Usage:

Log.Logger = new LoggerConfiguration()
    .WriteTo.OpenTelemetry(options =>
    {
        options.OnBeginSuppressInstrumentation =
            OpenTelemetry.SuppressInstrumentationScope.Begin;
        // ...

Fixes #41

nblumhardt avatar Aug 12 '24 23:08 nblumhardt