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
The JavaScript feature management library provide extension packages that integration with [Application Insights](/azure/azure-monitor/app/app-insights-overview) sdks.
671
671
672
+
The Application Insights offers different sdks for [web](https://www.npmjs.com/package/@microsoft/applicationinsights-web) and [Node.js](https://www.npmjs.com/package/applicationinsights) scenarios. Please select the correct extension packages for your application.
673
+
674
+
### [Browser](#tab/browser)
675
+
672
676
If your application runs in the browser, install the `"@microsoft/feature-management-applicationinsights-browser"` package. The following example shows how you can create a built-in Application Insights telemetry publisher and register it to the feature manager.
If your application runs in the Node.js, install the `"@microsoft/feature-management-applicationinsights-node"` package. The following example shows how you can create a built-in Application Insights telemetry publisher and register it to the feature manager.
The telemetry publisher sends `FeatureEvaluation` custom events to the Application Insights when a feature flag enabled with telemetry is evaluated. The custom event follows the [FeatureEvaluationEvent](https://github.com/microsoft/FeatureManagement/tree/main/Schema/FeatureEvaluationEvent) schema.
0 commit comments