Bug 1037494 - Add author field to Histograms.json; r=vladan

This commit is contained in:
Roberto A. Vitillo 2014-07-28 09:53:00 +02:00
parent cd64ddcdae
commit 0eaa4d1893
2 changed files with 4 additions and 1 deletions

View File

@ -71,6 +71,7 @@
"description": "Maximum number of concurrent threads reached during a given download session" "description": "Maximum number of concurrent threads reached during a given download session"
}, },
"BLOCKLIST_SYNC_FILE_LOAD": { "BLOCKLIST_SYNC_FILE_LOAD": {
"alert_emails": ["rvitillo@mozilla.com"],
"expires_in_version": "35", "expires_in_version": "35",
"kind": "boolean", "kind": "boolean",
"description": "blocklist.xml has been loaded synchronously" "description": "blocklist.xml has been loaded synchronously"
@ -4183,6 +4184,7 @@
"description": "Number of histograms with total count low errors" "description": "Number of histograms with total count low errors"
}, },
"TELEMETRY_FILES_EVICTED": { "TELEMETRY_FILES_EVICTED": {
"alert_emails": ["rvitillo@mozilla.com"],
"expires_in_version": "36", "expires_in_version": "36",
"kind": "enumerated", "kind": "enumerated",
"n_values": 30, "n_values": 30,
@ -4506,6 +4508,7 @@
"description": "Time (ms) it takes to initialize the search service" "description": "Time (ms) it takes to initialize the search service"
}, },
"SEARCH_SERVICE_INIT_SYNC": { "SEARCH_SERVICE_INIT_SYNC": {
"alert_emails": ["rvitillo@mozilla.com"],
"expires_in_version": "35", "expires_in_version": "35",
"kind": "boolean", "kind": "boolean",
"description": "search service has been initialized synchronously" "description": "search service has been initialized synchronously"

View File

@ -55,7 +55,7 @@ def exponential_buckets(dmin, dmax, n_buckets):
ret_array[bucket_index] = current ret_array[bucket_index] = current
return ret_array return ret_array
always_allowed_keys = ['kind', 'description', 'cpp_guard', 'expires_in_version'] always_allowed_keys = ['kind', 'description', 'cpp_guard', 'expires_in_version', "alert_emails"]
class Histogram: class Histogram:
"""A class for representing a histogram definition.""" """A class for representing a histogram definition."""