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

Send web3 usage metrics once per origin/property #9237

Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Aug 14, 2020

The usage metrics for the injected web3 instance were being sent upon each use, which exceeded the limits of our Matomo plan. These metrics are now only being sent upon the first usage, for each origin and property.

@Gudahtt Gudahtt marked this pull request as ready for review August 14, 2020 21:38
@Gudahtt Gudahtt requested a review from a team as a code owner August 14, 2020 21:38
@Gudahtt Gudahtt requested a review from whymarrh August 14, 2020 21:38
The usage metrics for the injected web3 instance were being sent upon
each use, which exceeded the limits of our Matomo plan. These metrics
are now only being sent upon the first usage, for each origin and
property.
@Gudahtt Gudahtt force-pushed the only-send-web3-usage-metrics-once-per-origin-and-property branch from 29478dc to da433dd Compare August 14, 2020 21:50
@Gudahtt Gudahtt requested a review from rekmarks August 14, 2020 21:51
Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

Builds ready [da433dd]
Page Load Metrics (603 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint29106462110
domContentLoaded36075160211254
load36175260311254
domInteractive36075060111254

@Gudahtt Gudahtt merged commit f771510 into develop Aug 14, 2020
@Gudahtt Gudahtt deleted the only-send-web3-usage-metrics-once-per-origin-and-property branch August 14, 2020 22:15
Gudahtt added a commit that referenced this pull request Aug 14, 2020
The usage metrics for the injected web3 instance were being sent upon
each use, which exceeded the limits of our Matomo plan. These metrics
are now only being sent upon the first usage, for each origin and
property.
@metamaskbot metamaskbot mentioned this pull request Aug 14, 2020
Gudahtt added a commit that referenced this pull request Aug 14, 2020
* origin/develop: (107 commits)
  Clear Account Details in AppState (#9238)
  Permit all-caps addresses (#9227)
  Send web3 usage metrics once per origin/property (#9237)
  Fix import/no-extraneous-dependencies issues (#9232)
  Remove unused buyEth fn from bg (#9236)
  Fix max-statements-per-line issues (#9218)
  Consolidate ESLint config files (#9231)
  Delete page-container.component.test.js (#9229)
  Tidy up getAccountLink (#9223)
  Tidy ConnectHardwareForm#checkIfUnlocked (#9224)
  Fix require-unicode-regexp issues (#9212)
  Fix no-negated-condition issues (#9222)
  Fix no-empty-function issues (#9216)
  Fix import/extensions issues (#9217)
  Dedupe glob-parent versions (#9220)
  Fix no-template-curly-in-string issues (#9221)
  Fix no-process-exit issues (#9219)
  Fix prefer-rest-params issues (#9215)
  Fix no-prototype-builtins issues (#9213)
  Fix no-nested-ternary issues (#9214)
  ...
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.

3 participants