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

Unified Diff: components/domain_reliability/context.cc

Issue 691163002: Domain Reliability: Histogram upload collector index (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cast upload index to int for histogram Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/context.cc
diff --git a/components/domain_reliability/context.cc b/components/domain_reliability/context.cc
index 766f6ca8ad6b11c1052830416c6ceec1040d8627..80f98e23640ec94f58196491d4ef3c7ba64442c4 100644
--- a/components/domain_reliability/context.cc
+++ b/components/domain_reliability/context.cc
@@ -234,8 +234,8 @@ void DomainReliabilityContext::StartUpload() {
&DomainReliabilityContext::OnUploadComplete,
weak_factory_.GetWeakPtr()));
- UMA_HISTOGRAM_BOOLEAN("DomainReliability.UploadFailover",
- collector_index > 0);
+ UMA_HISTOGRAM_SPARSE_SLOWLY("DomainReliability.UploadCollectorIndex",
+ static_cast<int>(collector_index));
if (!last_upload_time_.is_null()) {
UMA_HISTOGRAM_LONG_TIMES("DomainReliability.UploadInterval",
upload_time_ - last_upload_time_);
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698