This commit is contained in:
Janus Knudsen 2025-03-07 16:17:30 +01:00
parent ddb6abc14e
commit f3ab94eff1
6 changed files with 59 additions and 92 deletions

View file

@ -3,20 +3,12 @@ using Microsoft.ApplicationInsights.Extensibility;
namespace PlanTempus.Core.Telemetry.Enrichers
{
public class EnrichWithMetaTelemetry : ITelemetryProcessor
public class EnrichWithMetaTelemetry(ITelemetryProcessor next) : ITelemetryProcessor
{
private readonly ITelemetryProcessor _next;
public EnrichWithMetaTelemetry(ITelemetryProcessor next)
{
_next = next;
}
public void Process(ITelemetry item)
{
//nothing going on here yet :)
_next.Process(item);
next.Process(item);
}
}
}
}