Azure / Azure/azure-functions-host

Disable the upload of traces to Application Insights in Isolated mode?

Open
#9,516 6 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Is your question related to a specific version? If so, please specify:
It should be necessary but i'm running net6 v4 isolated
#### What language does your question apply to? (e.g. C#, JavaScript, Java, All)
C#
#### Question
Is there any way to disable the upload of the console output of the worker to Application Insights?
I´m already uploading the logs (with it´s corresponding correlation id and other custom data) with serilog from the worker and the logs are being duplicated due to the logging from the host, haven't been able to find in the documentation a way to disable this feature . As far as I know the only way to configure the host is with the host.json file and the documentation doesn't have anything related to disable appInsights. Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with host.json and the C# isolated-worker logging setup described in the issue. Determine whether Application Insights trace upload can be disabled while Serilog continues sending the worker's logs, then verify that duplicate console output is no longer uploaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cloud, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.