Skip to content

Commit b43ec08

Browse files
Merge pull request #286922 from zhiyuanliang-ms/zhiyuanliang/feature-evaluation-schema
Azure App Config - Use FeatureEvaluationEvent schema
2 parents 459ceb9 + db6e397 commit b43ec08

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

articles/azure-app-configuration/feature-management-dotnet-reference.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,19 +1351,11 @@ The `telemetry` section of a feature flag has the following properties:
13511351
| Property | Description |
13521352
| ---------------- | ---------------- |
13531353
| `enabled` | Specifies whether telemetry should be published for the feature flag. |
1354-
| `metadata` | A collection of key-value pairs, modeled as a dictionary, that can be used to attach custom metadata about the feature flag to evaluation events. |
1354+
| `metadata` | A collection of key-value pairs, modeled as a dictionary, which can be used to attach custom metadata about the feature flag to evaluation events. |
13551355

13561356
### Custom Telemetry Publishing
13571357

1358-
The feature manager has its own `ActivitySource` named "Microsoft.FeatureManagement". If `telemetry` is enabled for a feature flag, whenever the evaluation of the 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` named `"FeatureFlag"` to the current activity. The `"FeatureFlag"` event will have tags which include the information about the feature flag evaluation. Specifically, the tags will include the following fields:
1359-
1360-
| Tag | Description |
1361-
| ---------------- | ---------------- |
1362-
| `FeatureName` | The feature flag name. |
1363-
| `Enabled` | Whether the feature flag is evaluated as enabled. |
1364-
| `Variant` | The assigned variant. |
1365-
| `VariantAssignmentReason` | The reason why the variant is assigned. |
1366-
| `TargetingId` | The user id used for targeting. |
1358+
The feature manager has its own `ActivitySource` named "Microsoft.FeatureManagement". If `telemetry` is enabled for a feature flag, whenever the evaluation of the 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` named `FeatureFlag` to the current activity. The `FeatureFlag` event will have tags which include the information about the feature flag evaluation, following the fields defined in the [FeatureEvaluationEvent](https://github.com/microsoft/FeatureManagement/tree/main/Schema/FeatureEvaluationEvent) schema.
13671359

13681360
> [!NOTE]
13691361
> All key value pairs specified in `telemetry.metadata` of the feature flag will also be included in the tags.

0 commit comments

Comments
 (0)