[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.
Test: m
Bug: 170149255
Change-Id: I37770e84f23fb7920711dca785992d45b56ed34d
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index b58d924..3f23bb1 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -188,7 +188,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)