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-app-configuration/feature-management-dotnet-reference.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1329,7 +1329,7 @@ When a feature flag change is deployed, it's often important to analyze its effe
1329
1329
* Which variant is a particular user seeing?
1330
1330
1331
1331
1332
-
These types of questions can be answered through the emission and analysis of feature flag evaluation events. This library uses [`System.Diagnostics.Activity`](https://learn.microsoft.com/dotnet/api/system.diagnostics.activity) API to produce tracing telemetry during feature flag evaluation.
1332
+
These types of questions can be answered through the emission and analysis of feature flag evaluation events. This library uses [`System.Diagnostics.Activity`](/dotnet/api/system.diagnostics.activity) API to produce tracing telemetry during feature flag evaluation.
1333
1333
1334
1334
### Enabling Telemetry
1335
1335
@@ -1366,7 +1366,7 @@ The `telemetry` section of a feature flag has the following properties:
1366
1366
1367
1367
The feature manager has its own `ActivitySource`with name "Microsoft.FeatureManagement". If`telemetry` is enabled for a feature flag, whenever the evaluation ofthis feature flag is started, the feature manager will start an `Activity`. When the feature flag evaluation is finished, the feature manager will add an `ActivityEvent` called "FeatureFlag" to the `Activity.Current`. The"FeatureFlag"event will have tags which include the information about the feature flag evaluation.
1368
1368
1369
-
To enable custom telemetry publishing, you should create an [`ActivityListener`](https://learn.microsoft.com/dotnet/api/system.diagnostics.activitylistener) and listen to `Microsoft.FeatureManagement` activity source. Here is an example showing how to listen to the feature management activity source and add a callback when feature evaluation is done.
1369
+
To enable custom telemetry publishing, you should create an [`ActivityListener`](dotnet/api/system.diagnostics.activitylistener) and listen to `Microsoft.FeatureManagement` activity source. Here is an example showing how to listen to the feature management activity source and add a callback when feature evaluation is done.
For more information, please go to [Collect a distributed trace](https://learn.microsoft.com/dotnet/core/diagnostics/distributed-tracing-collection-walkthroughs).
1388
+
For more information, please go to [Collect a distributed trace](/dotnet/core/diagnostics/distributed-tracing-collection-walkthroughs).
1389
1389
1390
1390
### Application Insights Telemetry Publisher
1391
1391
@@ -1397,7 +1397,7 @@ builder.services
1397
1397
.AddApplicationInsightsTelemetryPublisher();
1398
1398
```
1399
1399
1400
-
The `Microsoft.FeatureManagement.Telemetry.ApplicationInsights`package provides the [`TargetingTelemetryInitializer`](https://github.com/microsoft/FeatureManagement-Dotnet/blob/preview/src/Microsoft.FeatureManagement.Telemetry.ApplicationInsights/TargetingTelemetryInitializer.cs) which implements the [ITelemetryInitializer](https://learn.microsoft.com/azure/azure-monitor/app/api-filtering-sampling#addmodify-properties-itelemetryinitializer). The `TargetingTelemetryInitializer` will extract targeting information from current activity's baggage and add it to Application Insights telemetry properties.
1400
+
The `Microsoft.FeatureManagement.Telemetry.ApplicationInsights`package provides the [`TargetingTelemetryInitializer`](https://github.com/microsoft/FeatureManagement-Dotnet/blob/preview/src/Microsoft.FeatureManagement.Telemetry.ApplicationInsights/TargetingTelemetryInitializer.cs) which implements the [ITelemetryInitializer](/azure/azure-monitor/app/api-filtering-sampling#addmodify-properties-itelemetryinitializer). The `TargetingTelemetryInitializer` will extract targeting information from current activity's baggage and add it to Application Insights telemetry properties.
0 commit comments