Merge "Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate."
This commit is contained in:
@@ -2871,6 +2871,9 @@ message NetworkDnsEventReported {
|
|||||||
// Additional pass-through fields opaque to statsd.
|
// Additional pass-through fields opaque to statsd.
|
||||||
// The DNS resolver Mainline module can add new fields here without requiring an OS update.
|
// 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];
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user