Bug 1281793 - part 7 - Remove some non-used telemetry IDs - widget directory, r=gfritzsche
This commit is contained in:
@@ -3269,24 +3269,6 @@
|
|||||||
"n_values": 6,
|
"n_values": 6,
|
||||||
"description": "Network identification (0=None, 1=New, 2=Same)"
|
"description": "Network identification (0=None, 1=New, 2=Same)"
|
||||||
},
|
},
|
||||||
"IDLE_NOTIFY_BACK_MS": {
|
|
||||||
"alert_emails": ["froydnj@mozilla.com"],
|
|
||||||
"bug_numbers": [731004],
|
|
||||||
"expires_in_version": "40",
|
|
||||||
"kind": "exponential",
|
|
||||||
"high": 5000,
|
|
||||||
"n_buckets": 10,
|
|
||||||
"description": "Time spent checking for and notifying listeners that the user is back (ms)"
|
|
||||||
},
|
|
||||||
"IDLE_NOTIFY_BACK_LISTENERS": {
|
|
||||||
"alert_emails": ["froydnj@mozilla.com"],
|
|
||||||
"bug_numbers": [731004],
|
|
||||||
"expires_in_version": "40",
|
|
||||||
"kind": "linear",
|
|
||||||
"high": 100,
|
|
||||||
"n_buckets": 20,
|
|
||||||
"description": "Number of listeners notified that the user is back"
|
|
||||||
},
|
|
||||||
"IDLE_NOTIFY_IDLE_MS": {
|
"IDLE_NOTIFY_IDLE_MS": {
|
||||||
"alert_emails": ["froydnj@mozilla.com"],
|
"alert_emails": ["froydnj@mozilla.com"],
|
||||||
"bug_numbers": [731004],
|
"bug_numbers": [731004],
|
||||||
@@ -3296,15 +3278,6 @@
|
|||||||
"n_buckets": 10,
|
"n_buckets": 10,
|
||||||
"description": "Time spent checking for and notifying listeners that the user is idle (ms)"
|
"description": "Time spent checking for and notifying listeners that the user is idle (ms)"
|
||||||
},
|
},
|
||||||
"IDLE_NOTIFY_IDLE_LISTENERS": {
|
|
||||||
"alert_emails": ["froydnj@mozilla.com"],
|
|
||||||
"bug_numbers": [731004],
|
|
||||||
"expires_in_version": "40",
|
|
||||||
"kind": "linear",
|
|
||||||
"high": 100,
|
|
||||||
"n_buckets": 20,
|
|
||||||
"description": "Number of listeners notified that the user is idle"
|
|
||||||
},
|
|
||||||
"URLCLASSIFIER_LOOKUP_TIME": {
|
"URLCLASSIFIER_LOOKUP_TIME": {
|
||||||
"expires_in_version": "never",
|
"expires_in_version": "never",
|
||||||
"kind": "exponential",
|
"kind": "exponential",
|
||||||
|
|||||||
@@ -546,9 +546,6 @@
|
|||||||
"HTTP_TRANSACTION_IS_SSL",
|
"HTTP_TRANSACTION_IS_SSL",
|
||||||
"HTTP_TRANSACTION_USE_ALTSVC",
|
"HTTP_TRANSACTION_USE_ALTSVC",
|
||||||
"HTTP_TRANSACTION_USE_ALTSVC_OE",
|
"HTTP_TRANSACTION_USE_ALTSVC_OE",
|
||||||
"IDLE_NOTIFY_BACK_LISTENERS",
|
|
||||||
"IDLE_NOTIFY_BACK_MS",
|
|
||||||
"IDLE_NOTIFY_IDLE_LISTENERS",
|
|
||||||
"IDLE_NOTIFY_IDLE_MS",
|
"IDLE_NOTIFY_IDLE_MS",
|
||||||
"IMAGE_DECODE_CHUNKS",
|
"IMAGE_DECODE_CHUNKS",
|
||||||
"IMAGE_DECODE_COUNT",
|
"IMAGE_DECODE_COUNT",
|
||||||
@@ -1658,9 +1655,6 @@
|
|||||||
"HTTP_TRANSACTION_IS_SSL",
|
"HTTP_TRANSACTION_IS_SSL",
|
||||||
"HTTP_TRANSACTION_USE_ALTSVC",
|
"HTTP_TRANSACTION_USE_ALTSVC",
|
||||||
"HTTP_TRANSACTION_USE_ALTSVC_OE",
|
"HTTP_TRANSACTION_USE_ALTSVC_OE",
|
||||||
"IDLE_NOTIFY_BACK_LISTENERS",
|
|
||||||
"IDLE_NOTIFY_BACK_MS",
|
|
||||||
"IDLE_NOTIFY_IDLE_LISTENERS",
|
|
||||||
"IDLE_NOTIFY_IDLE_MS",
|
"IDLE_NOTIFY_IDLE_MS",
|
||||||
"IMAGE_DECODE_CHUNKS",
|
"IMAGE_DECODE_CHUNKS",
|
||||||
"IMAGE_DECODE_COUNT",
|
"IMAGE_DECODE_COUNT",
|
||||||
|
|||||||
@@ -543,7 +543,6 @@ nsIdleService::ResetIdleTimeOut(uint32_t idleDeltaInMS)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Mark all idle services as non-idle, and calculate the next idle timeout.
|
// Mark all idle services as non-idle, and calculate the next idle timeout.
|
||||||
Telemetry::AutoTimer<Telemetry::IDLE_NOTIFY_BACK_MS> timer;
|
|
||||||
nsCOMArray<nsIObserver> notifyList;
|
nsCOMArray<nsIObserver> notifyList;
|
||||||
mDeltaToNextIdleSwitchInS = UINT32_MAX;
|
mDeltaToNextIdleSwitchInS = UINT32_MAX;
|
||||||
|
|
||||||
@@ -569,8 +568,6 @@ nsIdleService::ResetIdleTimeOut(uint32_t idleDeltaInMS)
|
|||||||
ReconfigureTimer();
|
ReconfigureTimer();
|
||||||
|
|
||||||
int32_t numberOfPendingNotifications = notifyList.Count();
|
int32_t numberOfPendingNotifications = notifyList.Count();
|
||||||
Telemetry::Accumulate(Telemetry::IDLE_NOTIFY_BACK_LISTENERS,
|
|
||||||
numberOfPendingNotifications);
|
|
||||||
|
|
||||||
// Bail if nothing to do.
|
// Bail if nothing to do.
|
||||||
if (!numberOfPendingNotifications) {
|
if (!numberOfPendingNotifications) {
|
||||||
@@ -755,8 +752,6 @@ nsIdleService::IdleTimerCallback(void)
|
|||||||
ReconfigureTimer();
|
ReconfigureTimer();
|
||||||
|
|
||||||
int32_t numberOfPendingNotifications = notifyList.Count();
|
int32_t numberOfPendingNotifications = notifyList.Count();
|
||||||
Telemetry::Accumulate(Telemetry::IDLE_NOTIFY_IDLE_LISTENERS,
|
|
||||||
numberOfPendingNotifications);
|
|
||||||
|
|
||||||
// Bail if nothing to do.
|
// Bail if nothing to do.
|
||||||
if (!numberOfPendingNotifications) {
|
if (!numberOfPendingNotifications) {
|
||||||
|
|||||||
Reference in New Issue
Block a user