github.com/google/cloudprober@v0.11.3/probes/udp/proto/config.proto (about) 1 syntax = "proto2"; 2 3 package cloudprober.probes.udp; 4 5 option go_package = "github.com/google/cloudprober/probes/udp/proto"; 6 7 message ProbeConf { 8 // Port to send UDP Ping to (UDP Echo). If running with the UDP server that 9 // comes with cloudprober, it should be same as 10 // ProberConfig.udp_echo_server_port. 11 optional int32 port = 3 [default = 31122]; 12 13 // Number of sending side ports to use. 14 optional int32 num_tx_ports = 4 [default = 16]; 15 16 // message max to account for MTU. 17 optional int32 max_length = 5 [default = 1300]; 18 19 // Payload size 20 optional int32 payload_size = 6; 21 22 // Changes the exported monitoring streams to be per port: 23 // 1. Changes the streams names to total-per-port, success-per-port etc. 24 // 2. Adds src_port and dst_port as stream labels. 25 // Note that the field name is experimental and may change in the future. 26 optional bool export_metrics_by_port = 7 [default = false]; 27 28 // Whether to use all transmit ports per probe, per target. 29 // Default is to probe each target once per probe and round-robin through the 30 // source ports. 31 // Setting this field to true changes the behavior to send traffic from all 32 // ports to all targets in each probe. 33 // For example, if num_tx_ports is set to 16, in every probe cycle, we'll send 34 // 16 packets to every target (1 per tx port). 35 // Note that setting this field to true will increase the probe traffic. 36 optional bool use_all_tx_ports_per_probe = 8 [default = false]; 37 }