Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1707513002: Add various UMA histograms for measuring GCM crypto performance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-remove-info
Patch Set: android fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 9ddd445781e309fb5e954084aa5bfc05f310659d..0e3a41b703cfbed23072e1449de81968fc99021a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -14915,6 +14915,49 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="GCM.Crypto.CreateKeySuccessRate" enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Success rate of writing new keying material to the GCM key store.
+ </summary>
+</histogram>
+
+<histogram name="GCM.Crypto.DecryptMessageResult" enum="GCMDecryptionResult">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Result of decryption on a received GCM message, which includes unencrypted
+ messages, successfully decrypted messages and decryption failures.
+ </summary>
+</histogram>
+
+<histogram name="GCM.Crypto.GetKeySuccessRate" enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Success rate of reading keying material from the GCM key store.
+ </summary>
+</histogram>
+
+<histogram name="GCM.Crypto.InitKeyStoreSuccessRate" enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Success rate of initializing the LevelDB back-end of the GCM key store.
+ </summary>
+</histogram>
+
+<histogram name="GCM.Crypto.LoadKeyStoreSuccessRate" enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Success rate of loading existing keying material in the GCM key store.
+ </summary>
+</histogram>
+
+<histogram name="GCM.Crypto.RemoveKeySuccessRate" enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Success rate of removing keying material from the GCM key store.
+ </summary>
+</histogram>
+
<histogram name="GCM.Database.Open" enum="LevelDBStatus">
<owner>cmumford@chromium.org</owner>
<summary>The result of a database open attempt by the GCM store.</summary>
@@ -68012,6 +68055,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="5" label="New heartbeat interval"/>
</enum>
+<enum name="GCMDecryptionResult" type="int">
+ <int value="0" label="Success (message unencrypted)"/>
+ <int value="1" label="Success (message decrypted)"/>
+ <int value="2" label="Failure (invalid Encryption HTTP header)"/>
+ <int value="3" label="Failure (invalid Crypto-Key HTTP header)"/>
+ <int value="4" label="Failure (no keying material available)"/>
+ <int value="5" label="Failure (unable to compute the shared secret)"/>
+ <int value="6" label="Failure (unable to decrypt using AES-GCM)"/>
+</enum>
+
<enum name="GCMEndpoints" type="int">
<int value="0" label="mtalk.google.com:5228"/>
<int value="1" label="mtalk.google.com:443"/>
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698