Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analytics: move to last priority of default plugins #928

Merged
merged 6 commits into from
Jun 25, 2019

Conversation

markwolff
Copy link
Contributor

@markwolff markwolff commented Jun 10, 2019

Custom telemetry intializers are run in processTelemetry in the analytics plugin. It needs to be made as the last priority among the default plugins so that all other telemetry information from other plugins is available to custom telemetry initializers.

Also removes minified entry point from core

@@ -30,7 +30,7 @@ export class ApplicationInsights implements IAppInsights, ITelemetryPlugin, IApp
public static Version = "2.0.1"; // Not currently used anywhere
public initialize: (config: IConfiguration, core: IAppInsightsCore, extensions: IPlugin[]) => void;
public identifier: string = "ApplicationInsightsAnalytics"; // do not change name or priority
public priority: number = 160;// take from reserved priority range 100- 200
public priority: number = 199;// take from reserved priority range 100- 200
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Native is 199

@markwolff markwolff merged commit 3d92a13 into master Jun 25, 2019
@markwolff markwolff deleted the markwolff/analytics-last-priority branch June 25, 2019 00:37
@markwolff markwolff added this to the 2.1 milestone Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants