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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 356953003: Adding DiskBasedCertCache to HttpCache (+UMA). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@current
Patch Set: Fixed issues (remembered to compile). Created 6 years, 5 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
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.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 e35ae92e0c9f08a2a52273a11e3c56362403f57b..bc49c4f5b2ec472dddeaae34b9436a08c4f72adb 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3499,6 +3499,51 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="DiskBasedCertCache.CertIo" enum="CertificateChainPosition">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Records information about DiskBasedCertCache operations with respect to
+ certificate chain positions. Zero indicates that a certificate is root, one
+ indicates that it is the first intermediate certificate, etc.
+ </summary>
+</histogram>
+
+<histogram name="DiskBasedCertCache.CertIoReadSuccessLeaf"
+ enum="BooleanSuccess">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Whether or not the leaf certificate of a certificate chain was successfuly
+ read from the disk cache.
+ </summary>
+</histogram>
+
+<histogram name="DiskBasedCertCache.CertIoWriteSuccessLeaf"
+ enum="BooleanSuccess">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Whether or not the leaf certificate of a certificate chain was successfully
+ written to the disk cache.
+ </summary>
+</histogram>
+
+<histogram name="DiskBasedCertCache.ChainReadTime" units="milliseconds">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Measures the wall clock time spent reading a certificate chain. The starting
+ time is when the read command is issued, and the ending time is when all of
+ the certificates in the chain have been read into memory.
wtc 2014/07/10 18:42:21 Nit: two spaces between "the" ad "certificates". M
+ </summary>
+</histogram>
+
+<histogram name="DiskBasedCertCache.ChainWriteTime" units="milliseconds">
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Measures the wall clock time spent writing a certificate chain to disk. The
+ starting time is when the write command is issued, and the ending time is
+ when all the certificates in the chain have been written to disk.
+ </summary>
+</histogram>
+
<histogram name="DiskCache.0.FilesAge" units="hours">
<owner>rvargas@chromium.org</owner>
<summary>The age of the cache's files (wall time).</summary>
@@ -35403,6 +35448,10 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="20" label="FutureCat (&gt;10.10), 8-bit (?)"/>
</enum>
+<enum name="CertificateChainPosition" type="int">
+ <int value="0" label="Root Certificate"/>
+</enum>
+
<enum name="ChannelLayout" type="int">
<int value="0" label="CHANNEL_LAYOUT_NONE"/>
<int value="1" label="CHANNEL_LAYOUT_UNSUPPORTED"/>
@@ -47582,6 +47631,18 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<affected-histogram name="CertificateType2.NonBR"/>
</histogram_suffixes>
+<histogram_suffixes name="CertIo" separator="">
+ <suffix name="ReadSuccess"
+ label="success rate of reading a certificate from the disk cache"/>
+ <suffix name="ReadFailure"
+ label="failure rate of reading a certificate from the disk cache"/>
+ <suffix name="WriteSuccess"
+ label="success rate of writing a certificate to the disk cache"/>
+ <suffix name="WriteFailure"
+ label="failure rate of writing a certificate to the disk cache"/>
+ <affected-histogram name="DiskBasedCertCache.CertIo"/>
+</histogram_suffixes>
+
<histogram_suffixes name="CloudPrintRequests" separator=".">
<suffix name="Register" label="Register request"/>
<suffix name="UpdatePrinter" label="Update printer request"/>
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698