Bug 1426710 - The telemetry on how often a backup connection wins should be histogram. r=mayhemer

This commit is contained in:
Dragana Damjanovic 2018-01-08 19:28:10 +01:00
Родитель e7889065a7
Коммит 4b6b71262b
3 изменённых файлов: 11 добавлений и 18 удалений

Просмотреть файл

@ -4335,10 +4335,10 @@ nsHalfOpenSocket::OnOutputStreamReady(nsIAsyncOutputStream *out)
// connection. We want to collect this telemetry only for cases where
// TFO is not used.
mBackupConnStatsSet = true;
Telemetry::ScalarSet(Telemetry::ScalarID::NETWORK_HTTP_BACKUP_CONN_WON,
(out == mBackupStreamOut));
Telemetry::Accumulate(Telemetry::NETWORK_HTTP_BACKUP_CONN_WON_1,
(out == mBackupStreamOut));
}
nsresult rv = SetupConn(out, false);
if (mEnt) {
mEnt->mDoNotDestroy = false;

Просмотреть файл

@ -2441,6 +2441,14 @@
"alert_emails": ["necko@mozilla.com", "ddamjanovic@mozilla.com"],
"bug_numbers": [1390881]
},
"NETWORK_HTTP_BACKUP_CONN_WON_1" : {
"record_in_processes": ["main"],
"expires_in_version": "61",
"kind": "boolean",
"description": "For connection where TFO has not be use, collect telemetry on whether the backup connection or the primary connection was faster.",
"alert_emails": ["necko@mozilla.com", "ddamjanovic@mozilla.com"],
"bug_numbers": [1426710]
},
"TLS_EARLY_DATA_NEGOTIATED": {
"record_in_processes": ["main", "content"],
"expires_in_version": "62",

Просмотреть файл

@ -1267,21 +1267,6 @@ screenshots:
record_in_processes:
- 'main'
network.http:
backup_conn_won:
bug_numbers:
- 1402811
description: >
For connection where TFO has not be use, collect telemetry on whether the
backup connection or the primary connection was faster.
expires: "61"
kind: boolean
notification_emails:
- necko@mozilla.com
- ddamjanovic@mozilla.com
record_in_processes:
- 'main'
idb.type:
persistent_count:
bug_numbers: