@@ -39,6 +39,8 @@ pub struct OtlpClientConfig {
3939 pub send_to : :: protobuf:: Chars ,
4040 // @@protoc_insertion_point(field:pulse.config.outflow.v1.OtlpClientConfig.request_timeout)
4141 pub request_timeout : :: protobuf:: MessageField < :: protobuf:: well_known_types:: duration:: Duration > ,
42+ // @@protoc_insertion_point(field:pulse.config.outflow.v1.OtlpClientConfig.connect_timeout)
43+ pub connect_timeout : :: protobuf:: MessageField < :: protobuf:: well_known_types:: duration:: Duration > ,
4244 // @@protoc_insertion_point(field:pulse.config.outflow.v1.OtlpClientConfig.max_in_flight)
4345 pub max_in_flight : :: std:: option:: Option < u64 > ,
4446 // @@protoc_insertion_point(field:pulse.config.outflow.v1.OtlpClientConfig.queue_policy)
@@ -72,7 +74,7 @@ impl OtlpClientConfig {
7274 }
7375
7476 fn generated_message_descriptor_data ( ) -> :: protobuf:: reflect:: GeneratedMessageDescriptorData {
75- let mut fields = :: std:: vec:: Vec :: with_capacity ( 10 ) ;
77+ let mut fields = :: std:: vec:: Vec :: with_capacity ( 11 ) ;
7678 let mut oneofs = :: std:: vec:: Vec :: with_capacity ( 0 ) ;
7779 fields. push ( :: protobuf:: reflect:: rt:: v2:: make_simpler_field_accessor :: < _ , _ > (
7880 "send_to" ,
@@ -84,6 +86,11 @@ impl OtlpClientConfig {
8486 |m : & OtlpClientConfig | { & m. request_timeout } ,
8587 |m : & mut OtlpClientConfig | { & mut m. request_timeout } ,
8688 ) ) ;
89+ fields. push ( :: protobuf:: reflect:: rt:: v2:: make_message_field_accessor :: < _ , :: protobuf:: well_known_types:: duration:: Duration > (
90+ "connect_timeout" ,
91+ |m : & OtlpClientConfig | { & m. connect_timeout } ,
92+ |m : & mut OtlpClientConfig | { & mut m. connect_timeout } ,
93+ ) ) ;
8794 fields. push ( :: protobuf:: reflect:: rt:: v2:: make_option_accessor :: < _ , _ > (
8895 "max_in_flight" ,
8996 |m : & OtlpClientConfig | { & m. max_in_flight } ,
@@ -148,6 +155,9 @@ impl ::protobuf::Message for OtlpClientConfig {
148155 18 => {
149156 :: protobuf:: rt:: read_singular_message_into_field ( is, & mut self . request_timeout ) ?;
150157 } ,
158+ 90 => {
159+ :: protobuf:: rt:: read_singular_message_into_field ( is, & mut self . connect_timeout ) ?;
160+ } ,
151161 24 => {
152162 self . max_in_flight = :: std:: option:: Option :: Some ( is. read_uint64 ( ) ?) ;
153163 } ,
@@ -191,6 +201,10 @@ impl ::protobuf::Message for OtlpClientConfig {
191201 let len = v. compute_size ( ) ;
192202 my_size += 1 + :: protobuf:: rt:: compute_raw_varint64_size ( len) + len;
193203 }
204+ if let Some ( v) = self . connect_timeout . as_ref ( ) {
205+ let len = v. compute_size ( ) ;
206+ my_size += 1 + :: protobuf:: rt:: compute_raw_varint64_size ( len) + len;
207+ }
194208 if let Some ( v) = self . max_in_flight {
195209 my_size += :: protobuf:: rt:: uint64_size ( 3 , v) ;
196210 }
@@ -231,6 +245,9 @@ impl ::protobuf::Message for OtlpClientConfig {
231245 if let Some ( v) = self . request_timeout . as_ref ( ) {
232246 :: protobuf:: rt:: write_message_field_with_cached_size ( 2 , v, os) ?;
233247 }
248+ if let Some ( v) = self . connect_timeout . as_ref ( ) {
249+ :: protobuf:: rt:: write_message_field_with_cached_size ( 11 , v, os) ?;
250+ }
234251 if let Some ( v) = self . max_in_flight {
235252 os. write_uint64 ( 3 , v) ?;
236253 }
@@ -274,6 +291,7 @@ impl ::protobuf::Message for OtlpClientConfig {
274291 fn clear ( & mut self ) {
275292 self . send_to . clear ( ) ;
276293 self . request_timeout . clear ( ) ;
294+ self . connect_timeout . clear ( ) ;
277295 self . max_in_flight = :: std:: option:: Option :: None ;
278296 self . queue_policy . clear ( ) ;
279297 self . batch_max_samples = :: std:: option:: Option :: None ;
@@ -289,6 +307,7 @@ impl ::protobuf::Message for OtlpClientConfig {
289307 static instance: OtlpClientConfig = OtlpClientConfig {
290308 send_to : :: protobuf:: Chars :: new ( ) ,
291309 request_timeout : :: protobuf:: MessageField :: none ( ) ,
310+ connect_timeout : :: protobuf:: MessageField :: none ( ) ,
292311 max_in_flight : :: std:: option:: Option :: None ,
293312 queue_policy : :: protobuf:: MessageField :: none ( ) ,
294313 batch_max_samples : :: std:: option:: Option :: None ,
@@ -390,23 +409,25 @@ static file_descriptor_proto_data: &'static [u8] = b"\
390409 \x1a \x1e google/protobuf/duration.proto\x1a #pulse/config/common/v1/common\
391410 .proto\x1a \" pulse/config/common/v1/retry.proto\x1a ,pulse/config/outflow/\
392411 v1/outflow_common.proto\x1a *pulse/config/outflow/v1/queue_policy.proto\
393- \x1a \x17 validate/validate.proto\" \xf3 \x05 \n \x10 OtlpClientConfig\x12 \x20 \
412+ \x1a \x17 validate/validate.proto\" \xc1 \x06 \n \x10 OtlpClientConfig\x12 \x20 \
394413 \n \x07 send_to\x18 \x01 \x20 \x01 (\t R\x06 sendToB\x07 \xfa B\x04 r\x02 \x10 \x01 \
395414 \x12 L\n \x0f request_timeout\x18 \x02 \x20 \x01 (\x0b 2\x19 .google.protobuf.Dur\
396- ationR\x0e requestTimeoutB\x08 \xfa B\x05 \xaa \x01 \x02 *\0 \x12 '\n \r max_in_fli\
397- ght\x18 \x03 \x20 \x01 (\x04 H\0 R\x0b maxInFlight\x88 \x01 \x01 \x12 G\n \x0c queue_\
398- policy\x18 \x04 \x20 \x01 (\x0b 2$.pulse.config.outflow.v1.QueuePolicyR\x0b qu\
399- euePolicy\x12 /\n \x11 batch_max_samples\x18 \x05 \x20 \x01 (\x04 H\x01 R\x0f batc\
400- hMaxSamples\x88 \x01 \x01 \x12 F\n \x04 auth\x18 \x06 \x20 \x01 (\x0b 22.pulse.conf\
401- ig.outflow.v1.HttpRemoteWriteAuthConfigR\x04 auth\x12 O\n \x0f request_heade\
402- rs\x18 \x07 \x20 \x03 (\x0b 2&.pulse.config.outflow.v1.RequestHeaderR\x0e requ\
403- estHeaders\x12 F\n \x0c retry_policy\x18 \x08 \x20 \x01 (\x0b 2#.pulse.config.co\
404- mmon.v1.RetryPolicyR\x0b retryPolicy\x12 [\n \x0b compression\x18 \t \x20 \x01 (\
405- \x0e 29.pulse.config.outflow.v1.OtlpClientConfig.OtlpCompressionR\x0b comp\
406- ression\x12 =\n \x1b convert_names_to_prometheus\x18 \n \x20 \x01 (\x08 R\x18 con\
407- vertNamesToPrometheus\" '\n \x0f OtlpCompression\x12 \n \n \x06 SNAPPY\x10 \0 \
408- \x12 \x08 \n \x04 NONE\x10 \x01 B\x10 \n \x0e _max_in_flightB\x14 \n \x12 _batch_max\
409- _samplesb\x06 proto3\
415+ ationR\x0e requestTimeoutB\x08 \xfa B\x05 \xaa \x01 \x02 *\0 \x12 L\n \x0f connect_\
416+ timeout\x18 \x0b \x20 \x01 (\x0b 2\x19 .google.protobuf.DurationR\x0e connectTi\
417+ meoutB\x08 \xfa B\x05 \xaa \x01 \x02 *\0 \x12 '\n \r max_in_flight\x18 \x03 \x20 \x01 \
418+ (\x04 H\0 R\x0b maxInFlight\x88 \x01 \x01 \x12 G\n \x0c queue_policy\x18 \x04 \x20 \
419+ \x01 (\x0b 2$.pulse.config.outflow.v1.QueuePolicyR\x0b queuePolicy\x12 /\n \
420+ \x11 batch_max_samples\x18 \x05 \x20 \x01 (\x04 H\x01 R\x0f batchMaxSamples\x88 \
421+ \x01 \x01 \x12 F\n \x04 auth\x18 \x06 \x20 \x01 (\x0b 22.pulse.config.outflow.v1.H\
422+ ttpRemoteWriteAuthConfigR\x04 auth\x12 O\n \x0f request_headers\x18 \x07 \x20 \
423+ \x03 (\x0b 2&.pulse.config.outflow.v1.RequestHeaderR\x0e requestHeaders\x12 \
424+ F\n \x0c retry_policy\x18 \x08 \x20 \x01 (\x0b 2#.pulse.config.common.v1.RetryP\
425+ olicyR\x0b retryPolicy\x12 [\n \x0b compression\x18 \t \x20 \x01 (\x0e 29.pulse.c\
426+ onfig.outflow.v1.OtlpClientConfig.OtlpCompressionR\x0b compression\x12 =\n \
427+ \x1b convert_names_to_prometheus\x18 \n \x20 \x01 (\x08 R\x18 convertNamesToPro\
428+ metheus\" '\n \x0f OtlpCompression\x12 \n \n \x06 SNAPPY\x10 \0 \x12 \x08 \n \x04 NON\
429+ E\x10 \x01 B\x10 \n \x0e _max_in_flightB\x14 \n \x12 _batch_max_samplesb\x06 prot\
430+ o3\
410431 ";
411432
412433/// `FileDescriptorProto` object which was a source for this generated file
0 commit comments