summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Li <lifr@google.com>2023-12-04 20:46:04 +0800
committerFrank Li <lifr@google.com>2023-12-05 17:09:52 +0800
commitcfc1cef05aa113c76bc694e13cd3d44736c8262f (patch)
treee674849b39b2697a7238982aec23a2fb969ad228
parent9f824d8801958eb0959fef19a9b098955c5dcbbc (diff)
downloadproto_logging-cfc1cef05aa113c76bc694e13cd3d44736c8262f.tar.gz
Correct field names and data types for apf atoms
Both atoms are not rollout yet. 1. ApfSessionInfoReported 2. IpClientRaInfoReported Bug: 313292409 Test: statsd_testdrive Change-Id: Idf065d38238713e693aebefd93604bd40bfc905a Merged-In: Idf065d38238713e693aebefd93604bd40bfc905a
-rw-r--r--stats/atoms/corenetworking/networkstack/apf_extension_atoms.proto6
-rw-r--r--stats/atoms/corenetworking/networkstack/ipclient_extension_atoms.proto14
2 files changed, 10 insertions, 10 deletions
diff --git a/stats/atoms/corenetworking/networkstack/apf_extension_atoms.proto b/stats/atoms/corenetworking/networkstack/apf_extension_atoms.proto
index 1bb6cfb6..4467d726 100644
--- a/stats/atoms/corenetworking/networkstack/apf_extension_atoms.proto
+++ b/stats/atoms/corenetworking/networkstack/apf_extension_atoms.proto
@@ -37,7 +37,7 @@ message ApfCounter {
optional android.stats.connectivity.CounterName counter_name = 1;
// The value of APF counter.
- optional int32 counter_value = 2;
+ optional int64 counter_value = 2;
}
@@ -61,8 +61,8 @@ message ApfSessionInfoReported {
// The values of all APF counters.
optional ApfCounterList apf_counter_list = 3 [(log_mode) = MODE_BYTES];
- // The duration of ip client in milliseconds.
- optional int32 ip_client_session_duration_ms = 4;
+ // The duration of APF session in seconds.
+ optional int32 apf_session_duration_seconds = 4;
// Number of times APF program updated.
optional int32 num_of_times_apf_program_updated = 5;
diff --git a/stats/atoms/corenetworking/networkstack/ipclient_extension_atoms.proto b/stats/atoms/corenetworking/networkstack/ipclient_extension_atoms.proto
index 63d1047e..a984c364 100644
--- a/stats/atoms/corenetworking/networkstack/ipclient_extension_atoms.proto
+++ b/stats/atoms/corenetworking/networkstack/ipclient_extension_atoms.proto
@@ -43,15 +43,15 @@ message IpClientRaInfoReported {
// The number of parsing error for RAs (Router Advertisements).
optional int32 number_of_parsing_error_ras = 3;
- // The lowest router lifetime in seconds.
+ // The lowest router lifetime in seconds, excluding 0.
optional int32 lowest_router_lifetime_seconds = 4;
- // The lowest valid lifetime of PIO (Prefix Information Option) in seconds.
- optional int32 lowest_pio_valid_lifetime_seconds = 5;
+ // The lowest valid lifetime of PIO (Prefix Information Option) in seconds, excluding 0.
+ optional int64 lowest_pio_valid_lifetime_seconds = 5;
- // The lowest route lifetime of RIO (Route Information Option) in seconds.
- optional int32 lowest_rio_route_lifetime_seconds = 6;
+ // The lowest route lifetime of RIO (Route Information Option) in seconds, excluding 0.
+ optional int64 lowest_rio_route_lifetime_seconds = 6;
- // The lowest lifetime of RDNSS (Recursive DNS Server Option) in seconds.
- optional int32 lowest_rdnss_lifetime_seconds = 7;
+ // The lowest lifetime of RDNSS (Recursive DNS Server Option) in seconds, excluding 0.
+ optional int64 lowest_rdnss_lifetime_seconds = 7;
}