Fix some nits in android metrics reporter
Fix a Tron variable name and a spacing error.
Bug: 30989466
Test: build update_engine
Change-Id: Id0feed7ae6b8ae29cb6f2527a7ec032b883e98ae
diff --git a/metrics_reporter_android.cc b/metrics_reporter_android.cc
index 26aa057..3cb356f 100644
--- a/metrics_reporter_android.cc
+++ b/metrics_reporter_android.cc
@@ -26,7 +26,7 @@
namespace {
void LogHistogram(const std::string& metrics, int value) {
android::metricslogger::LogHistogram(metrics, value);
- LOG(INFO) << "uploading " << value << "to histogram for metric " << metrics;
+ LOG(INFO) << "uploading " << value << " to histogram for metric " << metrics;
}
} // namespace
@@ -37,7 +37,7 @@
// The histograms are defined in:
// depot/google3/analysis/uma/configs/clearcut/TRON/histograms.xml
constexpr char kMetricsUpdateEngineAttemptNumber[] =
- "ota_update_engine_attempt_count";
+ "ota_update_engine_attempt_number";
constexpr char kMetricsUpdateEngineAttemptResult[] =
"ota_update_engine_attempt_result";
constexpr char kMetricsUpdateEngineAttemptDurationInMinutes[] =