Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Document Data Collection from telemetry services #164

Closed
cvan opened this issue Feb 27, 2018 · 5 comments
Closed

Document Data Collection from telemetry services #164

cvan opened this issue Feb 27, 2018 · 5 comments
Milestone

Comments

@cvan
Copy link
Contributor

cvan commented Feb 27, 2018

Parent issue: #165
Related issues:

@cvan
Copy link
Contributor Author

cvan commented Feb 27, 2018

This is not at all the copy/text I want to leave, but we should have three options that more eloquently describe these types of default telemetry we're offering:

  1. Automatically submit anonymous errors when encountered (JavaScript errors caught by Sentry via Raven.js)
  2. Automatically submit anonymous general usage/visit information (counter for MAU, DAU; via Google Analytics)
  3. Automatically submit performance metrics (via Google Analytics)

@delapuente delapuente added this to the Telemetry milestone Feb 28, 2018
@cvan cvan modified the milestones: Telemetry, v1.1.0 Feb 28, 2018
@delapuente delapuente modified the milestones: v1.1.0, Telemetry Feb 28, 2018
@cvan cvan self-assigned this Mar 14, 2018
@cvan
Copy link
Contributor Author

cvan commented Mar 14, 2018

@cvan cvan closed this as completed Mar 14, 2018
@cvan cvan reopened this Mar 14, 2018
@cvan
Copy link
Contributor Author

cvan commented Mar 14, 2018

Actually, will reopen this to have this documented in the telemetry branch.

@cvan
Copy link
Contributor Author

cvan commented Mar 14, 2018

Eventually will move this to a separate, remote hosted URL (current work in progress)

I'm waiting until I get final copy from Legal team. This is the text I'd like to add to the README.md for the telemetry branch.

WebXR Metrics

Help improve the WebXR API ecosystem and community by sending usage statistics, performance metrics, and JavaScript errors to the Mozilla Mixed Reality team.

Telemetry Usage

To opt in to telemetry (i.e., collecting usage statistics, performance metrics, and catching errors) it in your WebXR site, simply include this snippet of JavaScript code in your HTML (ideally, immediately before the </head> or before </body>):

Or this:

<script src="lib/telemetry.js"></script>
<script>
// Telemetry for collecting basic usage statistics, handling errors, and performance metrics.
(function () {
  MozillaResearch.telemetry.start({
    analytics: true,
    errorLogging: true,
    performance: true
  });
  MozillaResearch.telemetry.performance.mark('LoaderParsingStart');
</script>

@cvan
Copy link
Contributor Author

cvan commented Mar 16, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants