diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-05-10 04:14:51 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-05-10 04:14:51 +0000 |
commit | 8e8469da3079b0e3dc9ded3d5adefa1c19c839f9 (patch) | |
tree | 4629f626556208d7faa9a0899c870afc0fe04380 | |
parent | d6bb602fd0b097f444dafa87f8f011fa8f332dca (diff) | |
parent | 412fb6734e51d417bbd3422beae08d4ea97d7dfd (diff) | |
download | StatsD-8e8469da3079b0e3dc9ded3d5adefa1c19c839f9.tar.gz |
Merge "Update statsd guardrails" into tm-dev
-rw-r--r-- | statsd/src/guardrail/StatsdStats.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/statsd/src/guardrail/StatsdStats.h b/statsd/src/guardrail/StatsdStats.h index bfcb0fd7..d812e55a 100644 --- a/statsd/src/guardrail/StatsdStats.h +++ b/statsd/src/guardrail/StatsdStats.h @@ -102,10 +102,10 @@ public: static const std::map<int, std::pair<size_t, size_t>> kAtomDimensionKeySizeLimitMap; const static int kMaxConfigCountPerUid = 20; - const static int kMaxAlertCountPerConfig = 100; - const static int kMaxConditionCountPerConfig = 300; - const static int kMaxMetricCountPerConfig = 1000; - const static int kMaxMatcherCountPerConfig = 1200; + const static int kMaxAlertCountPerConfig = 200; + const static int kMaxConditionCountPerConfig = 500; + const static int kMaxMetricCountPerConfig = 2000; + const static int kMaxMatcherCountPerConfig = 2500; // The max number of old config stats we keep. const static int kMaxIceBoxSize = 20; @@ -163,11 +163,11 @@ public: static const int64_t kPullMaxDelayNs = 30 * NS_PER_SEC; // Maximum number of pushed atoms statsd stats will track above kMaxPushedAtomId. - static const int kMaxNonPlatformPushedAtoms = 400; + static const int kMaxNonPlatformPushedAtoms = 600; // Maximum atom id value that we consider a platform pushed atom. // This should be updated once highest pushed atom id in atoms.proto approaches this value. - static const int kMaxPushedAtomId = 500; + static const int kMaxPushedAtomId = 750; // Atom id that is the start of the pulled atoms. static const int kPullAtomStartTag = 10000; |