Azure Function App – skip trace logs to Application Insights

I’ve an isolated .NET 7 Azure Function App running in Azure. The Function App is connected to an Application Insights when created in Azure Portal.

Currently it uses Serilog to push all logs to Datadog. But it still ingest a lot of traces to Application Insights.

I prefer Datadog to analyze the application logs, but also think that Application Insights has some useful visualizations, e.g. function calls, failed calls etc.

Is it possible to keep using both Datadog and Application Insights, but stop ingesting the trace logs to Application Insights?

Read more here: Source link