Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 4.79 KB

TELEMETRY.md

File metadata and controls

50 lines (33 loc) · 4.79 KB

Metrics

This document enumerates the metrics collected by this project. This project may depend on other projects which also collect metrics. This means you might have to go searching through the dependency tree to get a full picture of everything collected by this project.

Pings

usage

This ping is intended to provide a measure of the usage of MozPhab. It's generated after a command is finished.

This ping includes the client id.

Data reviews for this ping:

Bugs related to this ping:

The following metrics are added to the ping:

Name Type Description Data reviews Extras Expiration
mozphab.environment.distribution_version string Version number of the Operating System or distribution name and version for Linux. 1 never
mozphab.environment.python_version string Python version 1 never
mozphab.environment.vcs.name string Name of the underlying version control system 1 never
mozphab.environment.vcs.version string Version of the underlying version control system 1 never
mozphab.submission.commits_count counter A total number of commits in the stack. 1 never
mozphab.submission.files_count counter A total number of files submitted. 1 never
mozphab.submission.files_size memory_distribution A distributed size of all files in the submitted stack 1 never
mozphab.submission.preparation_time timespan Time spent on preparing the commit stack. 1 never
mozphab.submission.process_time timespan Time spent on performing the submission. This metric will be null if the users decides to discontinue submission process after the preparation step. 1 never
mozphab.usage.arcanist boolean True if MozPhab was forced to use Arcanist 1 never
mozphab.usage.command string Command used to run MozPhab, e.g. submit or patch. 1 never
mozphab.usage.command_time timespan Time spent on performing the command 1 never
mozphab.usage.override_switch boolean True if a --force switch was used to override validation 1 never
mozphab.user.id uuid Unique identifier of each MozPhab user. The default client_id will change if the user would delete the telemetry-data directory. The user.id metric is created by hashing the email, which will be the same for all MozPhab installations. We store the user identification in a file that is updated every week. We want to change the user.id metric when the user changes an email. 1 never
mozphab.user.installation uuid Unique identifier of each MozPhab installation. A user might install the application on multiple machines/profiles. 1 never