summaryrefslogtreecommitdiff
path: root/cmds
diff options
context:
space:
mode:
authorStanislav Zholnin <zholnin@google.com>2020-06-03 15:27:35 +0100
committerStanislav Zholnin <zholnin@google.com>2020-06-25 13:28:10 +0000
commitcb726cbdd2ea88e41b2a91495e3239f20bdd9385 (patch)
tree33a0468a9291ad42da35dafecb6201b5753e12e8 /cmds
parent1ca44e0dcf371898386f76100ae79b375985b3ea (diff)
Inroduce UNIFORM_OPS sampling.
Introduce strategy which uniformly samples OPs, without biasing in favour of specific ops. Use this strategy half of the time. Test: atest RuntimeMessageCollectionTest && statsd_testdrive 10069 Bug: 143519689 Change-Id: I481d3a9ef9c66f04577b57432cecdf2c02055e58
Diffstat (limited to 'cmds')
-rw-r--r--cmds/statsd/src/atoms.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 36a8b2cfc084..bdd8964d0a0c 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -9042,6 +9042,7 @@ message RuntimeAppOpAccess {
UNIFORM = 1;
RARELY_USED = 2;
BOOT_TIME_SAMPLING = 3;
+ UNIFORM_OPS = 4;
}
// sampling strategy used to collect this message