Bug 1451734 - Add basic telemetry for application panel (open count, active time);r=ladybenko,miker

MozReview-Commit-ID: KONx4KdDhTU

--HG--
extra : rebase_source : 581ee5c66e6e20d40132830953c7957941d45662
This commit is contained in:
Julian Descottes 2018-05-25 16:10:33 +02:00
parent 942680b9e7
commit 4045d85ad1
3 changed files with 27 additions and 0 deletions

View File

@ -634,6 +634,7 @@ function getChartsFromToolId(id) {
countHist = `DEVTOOLS_${id}_OPENED_COUNT`;
break;
case "ACCESSIBILITY":
case "APPLICATION":
timerHist = `DEVTOOLS_${id}_TIME_ACTIVE_SECONDS`;
countScalar = `devtools.${lowerCaseId}.opened_count`;
break;

View File

@ -9558,6 +9558,17 @@
"releaseChannelCollection": "opt-out",
"description": "How long has the platform accessibility been active (seconds) in accessibility panel."
},
"DEVTOOLS_APPLICATION_TIME_ACTIVE_SECONDS": {
"record_in_processes": ["main", "content"],
"expires_in_version": "66",
"kind": "exponential",
"high": 86400,
"n_buckets": 100,
"bug_numbers": [1451734],
"alert_emails": ["dev-developer-tools@lists.mozilla.org", "jdescottes@mozilla.com"],
"releaseChannelCollection": "opt-out",
"description": "How long has the application panel been active (seconds)."
},
"DEVTOOLS_TOOLBOX_TIME_ACTIVE_SECONDS": {
"record_in_processes": ["main", "content"],
"expires_in_version": "never",

View File

@ -1140,6 +1140,21 @@ devtools.accessibility:
record_in_processes:
- 'main'
devtools.application:
opened_count:
bug_numbers:
- 1451734
description: >
Number of times the DevTools Application panel has been opened.
expires: "66"
kind: uint
notification_emails:
- dev-developer-tools@lists.mozilla.org
- jdescottes@mozilla.com
release_channel_collection: opt-out
record_in_processes:
- 'main'
devtools.toolbox:
tabs_reordered:
bug_numbers: