<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Extensibility.ITelemetryProcessor

public interface ITelemetryProcessor
Represents an object used to process telemetry as part of sending it to Application Insights.
void Process(ITelemetry item)

Process a collected telemetry item.