summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Olivier Gaillard <gaillard@google.com> 2018-11-30 13:06:18 +0000
committer Olivier Gaillard <gaillard@google.com> 2018-11-30 13:12:10 +0000
commitc840ed9bfeeab5a3e9a20a3424544d816ce9f12a (patch)
tree64067bb6d5a8f274c99a9426926010b29a243122
parentb24884e3051c7411ca53fbb0966788d0ef3c9b99 (diff)
Increase the cardinality limit for looper stats.
The recent changes to use all the dimensions as a key instead of having multiple atoms per bucket means we now hit the maximum threshold (although the data size is similar to what we had before). Test: tested locally Change-Id: I59261c273c71ce7932ee11b77bb429cec91780d7
-rw-r--r--cmds/statsd/src/guardrail/StatsdStats.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/statsd/src/guardrail/StatsdStats.cpp b/cmds/statsd/src/guardrail/StatsdStats.cpp
index 661768914c69..3e5e82f7f4df 100644
--- a/cmds/statsd/src/guardrail/StatsdStats.cpp
+++ b/cmds/statsd/src/guardrail/StatsdStats.cpp
@@ -101,6 +101,7 @@ const int FIELD_ID_UID_MAP_DELETED_APPS = 4;
const std::map<int, std::pair<size_t, size_t>> StatsdStats::kAtomDimensionKeySizeLimitMap = {
{android::util::BINDER_CALLS, {6000, 10000}},
+ {android::util::LOOPER_STATS, {1500, 2500}},
{android::util::CPU_TIME_PER_UID_FREQ, {6000, 10000}},
};