diff options
author | 2019-07-22 08:27:16 -0700 | |
---|---|---|
committer | 2019-07-22 08:27:16 -0700 | |
commit | 1b23258c87f13c17eafb8dccb0871dc138dc6b25 (patch) | |
tree | e9663d05fdde5f52c7f5a0bce12172c6ba7ffdd9 | |
parent | 882b41ea98ab26da45de21ac1f7406af3f27ad1c (diff) | |
parent | 60d4f1a5bdc2a8412e285baf74e0e9a54b8c42d2 (diff) |
Merge "Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate." am: 929cb5fc7f am: 736173bba2 am: 1b4173d819
am: 60d4f1a5bd
Change-Id: I9d37cac0bca53b3d7c6751ca69c1d304dfe17098
-rw-r--r-- | cmds/statsd/src/atoms.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index ceabd39aee8b..f6c72ea9d3b9 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -5309,6 +5309,9 @@ message NetworkDnsEventReported { // Additional pass-through fields opaque to statsd. // The DNS resolver Mainline module can add new fields here without requiring an OS update. optional android.stats.dnsresolver.DnsQueryEvents dns_query_events = 8 [(log_mode) = MODE_BYTES]; + + // The sample rate of DNS stats (to statsd) is 1/sampling_rate_denom. + optional int32 sampling_rate_denom = 9; } /** |