Skip to content

Commit e9ce167

Browse files
authored
Merge pull request #216636 from paulth1/app-articles-batch-9
edit pass: App articles batch 9
2 parents d858bb0 + 073dd25 commit e9ce167

11 files changed

+536
-520
lines changed

articles/azure-monitor/app/api-filtering-sampling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ ASP.NET **Core/Worker service apps**
118118
> [!NOTE]
119119
> Adding a processor by using `ApplicationInsights.config` or `TelemetryConfiguration.Active` isn't valid for ASP.NET Core applications or if you're using the Microsoft.ApplicationInsights.WorkerService SDK.
120120
121-
For apps written by using [ASP.NET Core](asp-net-core.md#adding-telemetry-processors) or [WorkerService](worker-service.md#adding-telemetry-processors), adding a new telemetry processor is done by using the `AddApplicationInsightsTelemetryProcessor` extension method on `IServiceCollection`, as shown. This method is called in the `ConfigureServices` method of your `Startup.cs` class.
121+
For apps written by using [ASP.NET Core](asp-net-core.md#adding-telemetry-processors) or [WorkerService](worker-service.md#add-telemetry-processors), adding a new telemetry processor is done by using the `AddApplicationInsightsTelemetryProcessor` extension method on `IServiceCollection`, as shown. This method is called in the `ConfigureServices` method of your `Startup.cs` class.
122122

123123
```csharp
124124
public void ConfigureServices(IServiceCollection services)
@@ -305,7 +305,7 @@ ASP.NET **Core/Worker service apps: Load your initializer**
305305
> [!NOTE]
306306
> Adding an initializer by using `ApplicationInsights.config` or `TelemetryConfiguration.Active` isn't valid for ASP.NET Core applications or if you're using the Microsoft.ApplicationInsights.WorkerService SDK.
307307
308-
For apps written using [ASP.NET Core](asp-net-core.md#adding-telemetryinitializers) or [WorkerService](worker-service.md#adding-telemetryinitializers), adding a new telemetry initializer is done by adding it to the Dependency Injection container, as shown. Accomplish this step in the `Startup.ConfigureServices` method.
308+
For apps written using [ASP.NET Core](asp-net-core.md#adding-telemetryinitializers) or [WorkerService](worker-service.md#add-telemetry-initializers), adding a new telemetry initializer is done by adding it to the Dependency Injection container, as shown. Accomplish this step in the `Startup.ConfigureServices` method.
309309

310310
```csharp
311311
using Microsoft.ApplicationInsights.Extensibility;

articles/azure-monitor/app/azure-web-apps-net-core.md

Lines changed: 73 additions & 79 deletions
Large diffs are not rendered by default.

articles/azure-monitor/app/data-model.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Azure Application Insights Telemetry Data Model | Microsoft Docs
3-
description: Application Insights data model overview
2+
title: Application Insights telemetry data model | Microsoft Docs
3+
description: This article presents an overview of the Application Insights telemetry data model.
44
services: application-insights
55
documentationcenter: .net
66
manager: carmonm
@@ -12,40 +12,41 @@ ms.reviewer: mmcc
1212
---
1313
# Application Insights telemetry data model
1414

15-
[Azure Application Insights](./app-insights-overview.md) sends telemetry from your web application to the Azure portal, so that you can analyze the performance and usage of your application. The telemetry model is standardized so that it is possible to create platform and language-independent monitoring.
15+
[Application Insights](./app-insights-overview.md) sends telemetry from your web application to the Azure portal so that you can analyze the performance and usage of your application. The telemetry model is standardized, so it's possible to create platform and language-independent monitoring.
1616

17-
Data collected by Application Insights models this typical application execution pattern:
17+
Data collected by Application Insights models this typical application execution pattern.
1818

19-
![Application Insights Application Model](./media/data-model/application-insights-data-model.png)
19+
![Diagram that shows an Application Insights telemetry data model.](./media/data-model/application-insights-data-model.png)
2020

21-
The following types of telemetry are used to monitor the execution of your app. The following three types are typically automatically collected by the Application Insights SDK from the web application framework:
21+
The following types of telemetry are used to monitor the execution of your app. Three types are automatically collected by the Application Insights SDK from the web application framework:
2222

23-
* [**Request**](data-model-request-telemetry.md) - Generated to log a request received by your app. For example, the Application Insights web SDK automatically generates a Request telemetry item for each HTTP request that your web app receives.
23+
* [Request](data-model-request-telemetry.md): Generated to log a request received by your app. For example, the Application Insights web SDK automatically generates a Request telemetry item for each HTTP request that your web app receives.
2424

25-
An **Operation** is the threads of execution that processes a request. You can also [write code](./api-custom-events-metrics.md#trackrequest) to monitor other types of operation, such as a "wake up" in a web job or function that periodically processes data. Each operation has an ID. This ID that can be used to [group](./correlation.md) all telemetry generated while your app is processing the request. Each operation either succeeds or fails, and has a duration of time.
26-
* [**Exception**](data-model-exception-telemetry.md) - Typically represents an exception that causes an operation to fail.
27-
* [**Dependency**](data-model-dependency-telemetry.md) - Represents a call from your app to an external service or storage such as a REST API or SQL. In ASP.NET, dependency calls to SQL are defined by `System.Data`. Calls to HTTP endpoints are defined by `System.Net`.
25+
An *operation* is made up of the threads of execution that process a request. You can also [write code](./api-custom-events-metrics.md#trackrequest) to monitor other types of operation, such as a "wake up" in a web job or function that periodically processes data. Each operation has an ID. The ID can be used to [group](./correlation.md) all telemetry generated while your app is processing the request. Each operation either succeeds or fails and has a duration of time.
26+
* [Exception](data-model-exception-telemetry.md): Typically represents an exception that causes an operation to fail.
27+
* [Dependency](data-model-dependency-telemetry.md): Represents a call from your app to an external service or storage, such as a REST API or SQL. In ASP.NET, dependency calls to SQL are defined by `System.Data`. Calls to HTTP endpoints are defined by `System.Net`.
2828

29-
Application Insights provides three additional data types for custom telemetry:
29+
Application Insights provides three data types for custom telemetry:
3030

31-
* [Trace](data-model-trace-telemetry.md) - used either directly, or through an adapter to implement diagnostics logging using an instrumentation framework that is familiar to you, such as `Log4Net` or `System.Diagnostics`.
32-
* [Event](data-model-event-telemetry.md) - typically used to capture user interaction with your service, to analyze usage patterns.
33-
* [Metric](data-model-metric-telemetry.md) - used to report periodic scalar measurements.
31+
* [Trace](data-model-trace-telemetry.md): Used either directly or through an adapter to implement diagnostics logging by using an instrumentation framework that's familiar to you, such as `Log4Net` or `System.Diagnostics`.
32+
* [Event](data-model-event-telemetry.md): Typically used to capture user interaction with your service to analyze usage patterns.
33+
* [Metric](data-model-metric-telemetry.md): Used to report periodic scalar measurements.
3434

35-
Every telemetry item can define the [context information](data-model-context.md) like application version or user session id. Context is a set of strongly typed fields that unblocks certain scenarios. When application version is properly initialized, Application Insights can detect new patterns in application behavior correlated with redeployment. Session id can be used to calculate the outage or an issue impact on users. Calculating distinct count of session id values for certain failed dependency, error trace or critical exception gives a good understanding of an impact.
35+
Every telemetry item can define the [context information](data-model-context.md) like application version or user session ID. Context is a set of strongly typed fields that unblocks certain scenarios. When application version is properly initialized, Application Insights can detect new patterns in application behavior correlated with redeployment.
3636

37-
Application Insights telemetry model defines a way to [correlate](./correlation.md) telemetry to the operation of which it’s a part. For example, a request can make a SQL Database calls and recorded diagnostics info. You can set the correlation context for those telemetry items that tie it back to the request telemetry.
37+
You can use session ID to calculate an outage or an issue impact on users. Calculating the distinct count of session ID values for a specific failed dependency, error trace, or critical exception gives you a good understanding of an impact.
38+
39+
The Application Insights telemetry model defines a way to [correlate](./correlation.md) telemetry to the operation of which it's a part. For example, a request can make a SQL Database call and record diagnostics information. You can set the correlation context for those telemetry items that tie it back to the request telemetry.
3840

3941
## Schema improvements
4042

41-
Application Insights data model is a simple and basic yet powerful way to model your application telemetry. We strive to keep the model simple and slim to support essential scenarios and allow to extend the schema for advanced use.
43+
The Application Insights data model is a basic yet powerful way to model your application telemetry. We strive to keep the model simple and slim to support essential scenarios and allow the schema to be extended for advanced use.
4244

43-
[To report data model or schema problems and suggestions use our GitHub repository](https://github.com/microsoft/ApplicationInsights-dotnet/issues/new/choose).
45+
To report data model or schema problems and suggestions, use our [GitHub repository](https://github.com/microsoft/ApplicationInsights-dotnet/issues/new/choose).
4446

4547
## Next steps
4648

47-
- [Write custom telemetry](./api-custom-events-metrics.md)
49+
- [Write custom telemetry](./api-custom-events-metrics.md).
4850
- Learn how to [extend and filter telemetry](./api-filtering-sampling.md).
49-
- Use [sampling](./sampling.md) to minimize amount of telemetry based on data model.
51+
- Use [sampling](./sampling.md) to minimize the amount of telemetry based on data model.
5052
- Check out [platforms](./platforms.md) supported by Application Insights.
51-

articles/azure-monitor/app/eventcounters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To get a list of well known counters published by the .NET Runtime, see [Availab
2626

2727
## Customizing counters to be collected
2828

29-
The following example shows how to add/remove counters. This customization would be done in the `ConfigureServices` method of your application after Application Insights telemetry collection is enabled using either `AddApplicationInsightsTelemetry()` or `AddApplicationInsightsWorkerService()`. Following is an example code from an ASP.NET Core application. For other type of applications, refer to [this](worker-service.md#configuring-or-removing-default-telemetrymodules) document.
29+
The following example shows how to add/remove counters. This customization would be done in the `ConfigureServices` method of your application after Application Insights telemetry collection is enabled using either `AddApplicationInsightsTelemetry()` or `AddApplicationInsightsWorkerService()`. Following is an example code from an ASP.NET Core application. For other type of applications, refer to [this](worker-service.md#configure-or-remove-default-telemetry-modules) document.
3030

3131
```csharp
3232
using Microsoft.ApplicationInsights.Extensibility.EventCounterCollector;

0 commit comments

Comments
 (0)