The current implementation didn't correctly mirror the entire list of configuration parameters that can be used with App Insights. This PR widens the configuration options, and also adds the optional instantiation of the click analytics plugin.
The new configuration structure is:
type Options = {
config: ApplicationInsightsConfig;
enableClickAnalytics?: boolean;
};
This doesn't expose a way to add more app insights extensions currently, but that will be added as needed/requested.
ℹ️ This change is backwards compatible with the old method of passing configuration.
Summary
The current implementation didn't correctly mirror the entire list of configuration parameters that can be used with App Insights. This PR widens the configuration options, and also adds the optional instantiation of the click analytics plugin.
The new configuration structure is:
This doesn't expose a way to add more app insights extensions currently, but that will be added as needed/requested.
ℹ️ This change is backwards compatible with the old method of passing configuration.