Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c673ff7 authored by Mike Yu's avatar Mike Yu
Browse files

Add NetworkDnsServerSupportReported in stats.proto

Bug: 241788170
Test: Build pass
Change-Id: Ic93ac663fc8b21defb49495599a186daab35af39
parent b6882611
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -474,3 +474,31 @@ message NetworkDnsHandshakeReported {
  // The sampling-rate of this event is 1/sampling_rate_denom.
  optional int32 sampling_rate_denom = 15;
}

/**
 * logs the number of DNS servers supported by the protocol
 */
message NetworkDnsServerSupportReported {
    // The network type of the network
    optional NetworkType network_type = 1;

    // The private DNS mode of the network
    optional PrivateDnsModes private_dns_modes = 2;

    // Stores the state of all DNS servers for this network
    optional Servers servers = 3;
}

message Servers {
    repeated Server server = 1;
}

message Server {
    optional Protocol protocol = 1;

    // The order of the dns server in the network
    optional int32 index = 2;

    // The validation status of the DNS server in the network
    required bool validated = 3;
}