From 3a4883a1fa902825bc83ec13f7b7980d58c7372b Mon Sep 17 00:00:00 2001 From: Andra Constantin Date: Thu, 10 Oct 2024 04:39:04 -0400 Subject: [PATCH] try move onend --- Backend/Otel/OtelKernel.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Backend/Otel/OtelKernel.cs b/Backend/Otel/OtelKernel.cs index 5a15e5887f..dc31b7ae1f 100644 --- a/Backend/Otel/OtelKernel.cs +++ b/Backend/Otel/OtelKernel.cs @@ -16,6 +16,13 @@ namespace BackendFramework.Otel { public static class OtelKernel { + + private class UserEnricher() : BaseProcessor + { + public override void OnStart(Activity data) + { + } + } public const string SourceName = "Backend-Otel"; [ExcludeFromCodeCoverage] private static void AspNetCoreBuilder(AspNetCoreTraceInstrumentationOptions options) @@ -138,12 +145,6 @@ public static void AddOpenTelemetryInstrumentation(this IServiceCollection servi .AddOtlpExporter() ); } - private class UserEnricher() : BaseProcessor - { - public override void OnStart(Activity data) - { - } - } } }