Skip to content

Commit ddb4c7a

Browse files
authored
Merge pull request #191743 from AaronMaxwell/aaronmax-add-autoflush-warning
[AppInsights][AaronMax] adding tshoot content
2 parents b7639fd + 78280a9 commit ddb4c7a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/azure-monitor/app/asp-net-trace-logs.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,24 @@ You can, for example:
191191
>
192192
193193
## Troubleshooting
194+
195+
### Delayed telemetry, overloading network, or inefficient transmission
196+
System.Diagnostics.Tracing has an [Autoflush feature](https://docs.microsoft.com/dotnet/api/system.diagnostics.trace.autoflush). This causes SDK to flush with every telemetry item, which is undesirable, and can cause logging adapter issues like delayed telemetry, overloading network, inefficient transmission, etc.
197+
198+
199+
194200
### How do I do this for Java?
195201
In Java codeless instrumentation (recommended) the logs are collected out of the box, use [Java 3.0 agent](./java-in-process-agent.md).
196202

197-
If you are using the Java SDK, use the [Java log adapters](java-2x-trace-logs.md).
203+
If you're using the Java SDK, use the [Java log adapters](java-2x-trace-logs.md).
198204

199205
### There's no Application Insights option on the project context menu
200206
* Make sure that Developer Analytics Tools is installed on the development machine. At Visual Studio **Tools** > **Extensions and Updates**, look for **Developer Analytics Tools**. If it isn't on the **Installed** tab, open the **Online** tab and install it.
201207
* This might be a project type that Developer Analytics Tools doesn't support. Use [manual installation](#manual-installation).
202208

203209
### There's no log adapter option in the configuration tool
204210
* Install the logging framework first.
205-
* If you're using System.Diagnostics.Trace, make sure that you have it [configured in *web.config*](/dotnet/api/system.diagnostics.eventlogtracelistener).
211+
* If you're using System.Diagnostics.Trace, make sure that you've it [configured in *web.config*](/dotnet/api/system.diagnostics.eventlogtracelistener).
206212
* Make sure that you have the latest version of Application Insights. In Visual Studio, go to **Tools** > **Extensions and Updates**, and open the **Updates** tab. If **Developer Analytics Tools** is there, select it to update it.
207213

208214
### <a name="emptykey"></a>I get the "Instrumentation key cannot be empty" error message

0 commit comments

Comments
 (0)