Lines Matching refs:metrics
35 namespace metrics { namespace
119 string metric = metrics::kMetricDailyOSAgeDays; in ReportDailyMetrics()
138 if (result != metrics::CheckResult::kUnset) { in ReportUpdateCheckMetrics()
139 metric = metrics::kMetricCheckResult; in ReportUpdateCheckMetrics()
141 max_value = static_cast<int>(metrics::CheckResult::kNumConstants) - 1; in ReportUpdateCheckMetrics()
145 if (reaction != metrics::CheckReaction::kUnset) { in ReportUpdateCheckMetrics()
146 metric = metrics::kMetricCheckReaction; in ReportUpdateCheckMetrics()
148 max_value = static_cast<int>(metrics::CheckReaction::kNumConstants) - 1; in ReportUpdateCheckMetrics()
152 if (download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateCheckMetrics()
153 metric = metrics::kMetricCheckDownloadErrorCode; in ReportUpdateCheckMetrics()
195 string metric = metrics::kMetricAttemptResult; in ReportAbnormallyTerminatedUpdateAttemptMetrics()
222 metric = metrics::kMetricAttemptNumber; in ReportUpdateAttemptMetrics()
230 metric = metrics::kMetricAttemptPayloadType; in ReportUpdateAttemptMetrics()
237 metric = metrics::kMetricAttemptDurationMinutes; in ReportUpdateAttemptMetrics()
246 metric = metrics::kMetricAttemptDurationUptimeMinutes; in ReportUpdateAttemptMetrics()
255 metric = metrics::kMetricAttemptPayloadSizeMiB; in ReportUpdateAttemptMetrics()
264 metric = metrics::kMetricAttemptPayloadBytesDownloadedMiB; in ReportUpdateAttemptMetrics()
275 metric = metrics::kMetricAttemptPayloadDownloadSpeedKBps; in ReportUpdateAttemptMetrics()
285 metric = metrics::kMetricAttemptDownloadSource; in ReportUpdateAttemptMetrics()
292 metric = metrics::kMetricAttemptResult; in ReportUpdateAttemptMetrics()
301 metric = metrics::kMetricAttemptInternalErrorCode; in ReportUpdateAttemptMetrics()
311 metric = metrics::kMetricAttemptDownloadErrorCode; in ReportUpdateAttemptMetrics()
351 metric = metrics::kMetricAttemptConnectionType; in ReportUpdateAttemptMetrics()
395 metric = metrics::kMetricSuccessfulUpdateBytesDownloadedMiB; in ReportSuccessfulUpdateMetrics()
416 metric = metrics::kMetricSuccessfulUpdateDownloadSourcesUsed; in ReportSuccessfulUpdateMetrics()
426 metric = metrics::kMetricSuccessfulUpdateDownloadOverheadPercentage; in ReportSuccessfulUpdateMetrics()
435 metric = metrics::kMetricSuccessfulUpdateUrlSwitchCount; in ReportSuccessfulUpdateMetrics()
444 metric = metrics::kMetricSuccessfulUpdateTotalDurationMinutes; in ReportSuccessfulUpdateMetrics()
454 metric = metrics::kMetricSuccessfulUpdateRebootCount; in ReportSuccessfulUpdateMetrics()
463 metric = metrics::kMetricSuccessfulUpdatePayloadType; in ReportSuccessfulUpdateMetrics()
470 metric = metrics::kMetricSuccessfulUpdateAttemptCount; in ReportSuccessfulUpdateMetrics()
479 metric = metrics::kMetricSuccessfulUpdateUpdatesAbandonedCount; in ReportSuccessfulUpdateMetrics()
494 metric = metrics::kMetricRollbackResult; in ReportRollbackMetrics()
500 static_cast<int>(metrics::RollbackResult::kNumConstants)); in ReportRollbackMetrics()