Skip to content

Commit

Permalink
try move onend
Browse files Browse the repository at this point in the history
  • Loading branch information
andracc committed Oct 10, 2024
1 parent e5b68fa commit 3a4883a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Backend/Otel/OtelKernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ namespace BackendFramework.Otel
{
public static class OtelKernel
{

private class UserEnricher() : BaseProcessor<Activity>
{
public override void OnStart(Activity data)
{
}
}
public const string SourceName = "Backend-Otel";
[ExcludeFromCodeCoverage]
private static void AspNetCoreBuilder(AspNetCoreTraceInstrumentationOptions options)
Expand Down Expand Up @@ -138,12 +145,6 @@ public static void AddOpenTelemetryInstrumentation(this IServiceCollection servi
.AddOtlpExporter()
);
}
private class UserEnricher() : BaseProcessor<Activity>
{
public override void OnStart(Activity data)
{
}
}
}
}

0 comments on commit 3a4883a

Please sign in to comment.