Skip to content

Commit 9fcb70a

Browse files
authored
Merge pull request #197514 from AaronMaxwell/aaronmax-update-aspnet-tshoot
Aaronmax update aspnet tshoot
2 parents e474379 + f833d15 commit 9fcb70a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/azure-monitor/app/asp-net-troubleshoot-no-data.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ ms.date: 05/21/2020
2727

2828
* 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.
2929

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+
3032
## Request count collected by Application Insights SDK doesn't match the IIS log count for my application
3133

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.
3335

3436
## No data from my server
3537
* 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](
216218
* 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/).
217219

218220
## 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.
220222

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.
222224

223225
## Client IP address is 0.0.0.0
224226

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.
226228

227229
> [!NOTE]
228230
> 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.
243245
> [!NOTE]
244246
> 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.
245247

246-
1. Modify your applicationinsights.config file to include the following:
248+
1. Modify your applicationinsights.config file to include the following XML:
247249

248250
```xml
249251
<TelemetryModules>
@@ -305,7 +307,7 @@ For more information,
305307

306308
## Collect logs with dotnet-trace
307309

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.
309311

310312
After installation of [`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace), execute the command below in bash.
311313

0 commit comments

Comments
 (0)