You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/asp-net-troubleshoot-no-data.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,11 @@ ms.date: 05/21/2020
27
27
28
28
* SDK channel keeps telemetry in buffer, and sends them in batches. If the application is shutting down, you might need to explicitly call [Flush()](api-custom-events-metrics.md#flushing-data). Behavior of `Flush()` depends on the actual [channel](telemetry-channels.md#built-in-telemetry-channels) used.
29
29
30
+
* Per [.NET Core/.NET Framework Console application](worker-service.md#net-corenet-framework-console-application), explicitly calling Flush() followed by sleep is required in Console Apps.
31
+
30
32
## Request count collected by Application Insights SDK doesn't match the IIS log count for my application
31
33
32
-
Internet Information Services (IIS) logs counts of all request reaching IIS and inherently could differ from the total request reaching an application. Due to this, it isn't guaranteed that the request count collected by the SDKs will match the total IIS log count.
34
+
Internet Information Services (IIS) logs counts of all request reaching IIS and inherently could differ from the total request reaching an application. Due to this behavior, it isn't guaranteed that the request count collected by the SDKs will match the total IIS log count.
33
35
34
36
## No data from my server
35
37
* I installed my app on my web server, and now I don't see any telemetry from it. It worked OK on my dev machine.*
@@ -216,13 +218,13 @@ Performance data (CPU, IO rate, and so on) is available for [Java web services](
216
218
* Have you hit your monthly quota of data points? Open the Settings/Quota and Pricing to find out. If so, you can upgrade your plan, or pay for more capacity. See the [pricing scheme](https://azure.microsoft.com/pricing/details/application-insights/).
217
219
218
220
## I don't see all the data I'm expecting
219
-
If your application sends a lot of data and you're using the Application Insights SDK for ASP.NET version 2.0.0-beta3 or later, the [adaptive sampling](./sampling.md) feature may operate and send only a percentage of your telemetry.
221
+
If your application sends considerable data and you're using the Application Insights SDK for ASP.NET version 2.0.0-beta3 or later, the [adaptive sampling](./sampling.md) feature may operate and send only a percentage of your telemetry.
220
222
221
-
You can disable it, but doing so is not recommended. Sampling is designed so that related telemetry is correctly transmitted, for diagnostic purposes.
223
+
You can disable it, but doing so isn't recommended. Sampling is designed so that related telemetry is correctly transmitted, for diagnostic purposes.
222
224
223
225
## Client IP address is 0.0.0.0
224
226
225
-
On February 5 2018, we announced that we removed logging of the Client IP address. This doesn't affect Geo Location.
227
+
On February 5 2018, we announced that we removed logging of the Client IP address. This recommendation doesn't affect Geo Location.
226
228
227
229
> [!NOTE]
228
230
> If you need the first 3 octets of the IP address, you can use a [telemetry initializer](./api-filtering-sampling.md#addmodify-properties-itelemetryinitializer) to add a custom attribute.
@@ -243,7 +245,7 @@ Follow these instructions to capture troubleshooting logs for your framework.
243
245
> [!NOTE]
244
246
> Starting in version 2.14, the [Microsoft.AspNet.ApplicationInsights.HostingStartup](https://www.nuget.org/packages/Microsoft.AspNet.ApplicationInsights.HostingStartup) package is no longer necessary, SDK logs are now collected with the [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/) package. No additional package is required.
245
247
246
-
1. Modify your applicationinsights.config file to include the following:
248
+
1. Modify your applicationinsights.config file to include the following XML:
247
249
248
250
```xml
249
251
<TelemetryModules>
@@ -305,7 +307,7 @@ For more information,
305
307
306
308
## Collect logs with dotnet-trace
307
309
308
-
Alternatively, customers can also use a cross-platform .NET Core tool, [`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace) for collecting logs that can further help in troubleshooting. This may be helpful for linux-based environments.
310
+
Alternatively, customers can also use a cross-platform .NET Core tool, [`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace) for collecting logs that can further help in troubleshooting. This tool may be helpful for linux-based environments.
309
311
310
312
After installation of [`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace), execute the command below in bash.
0 commit comments