Revert^2 "[metrics] Turn on statsd reporting at app startup completion"
This change enables statsd reporting by default. Only app startup
reports are enabled by default, so this will cause apps to report ART
internal metrics to statsd when startup completes. This change does
not enable periodic reporting (i.e. reporting every N seconds).
In the future, this will normally be controlled through experiments,
but this will let us get some early insight to how ART's metrics
reporting affects statsd.
This is a single line CL so it should be easy to revert if it causes
problems.
This reverts commit ad6c22fa4c11f9c1f9f241d02fcca5e25caef40d.
Reason for revert: Failures fixed in https://r.android.com/1634699
Test: m
Bug: 170149255
Change-Id: I6113afd26d133bf83aef966a0125cdf411e32b60
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index ea6b6e1..e431183 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -191,7 +191,7 @@
// Metrics configuration settings
RUNTIME_OPTIONS_KEY (Unit, WriteMetricsToLog)
-RUNTIME_OPTIONS_KEY (bool, WriteMetricsToStatsd, false)
+RUNTIME_OPTIONS_KEY (bool, WriteMetricsToStatsd, true)
RUNTIME_OPTIONS_KEY (std::string, WriteMetricsToFile)
RUNTIME_OPTIONS_KEY (Unit, DisableFinalMetricsReport)
RUNTIME_OPTIONS_KEY (unsigned int, MetricsReportingPeriod)