@@ -160,7 +160,7 @@ impl<E: PushMetricExporter> PeriodicReader<E> {
160
160
. spawn ( move || {
161
161
let mut interval_start = Instant :: now ( ) ;
162
162
let mut remaining_interval = interval;
163
- otel_info ! (
163
+ otel_debug ! (
164
164
name: "PeriodReaderThreadStarted" ,
165
165
interval_in_millisecs = interval. as_millis( ) ,
166
166
) ;
@@ -190,16 +190,16 @@ impl<E: PushMetricExporter> PeriodicReader<E> {
190
190
191
191
if export_result. is_err ( ) {
192
192
if response_sender. send ( false ) . is_err ( ) {
193
- otel_info ! (
193
+ otel_debug ! (
194
194
name: "PeriodReader.Flush.ResponseSendError" ,
195
- message = "PeriodicReader's flush has failed, but unable to send this info back to caller.
195
+ message = "PeriodicReader's flush has failed, but unable to send this info back to caller.
196
196
This occurs when the caller has timed out waiting for the response. If you see this occuring frequently, consider increasing the flush timeout."
197
197
) ;
198
198
}
199
199
} else if response_sender. send ( true ) . is_err ( ) {
200
- otel_info ! (
200
+ otel_debug ! (
201
201
name: "PeriodReader.Flush.ResponseSendError" ,
202
- message = "PeriodicReader's flush has completed successfully, but unable to send this info back to caller.
202
+ message = "PeriodicReader's flush has completed successfully, but unable to send this info back to caller.
203
203
This occurs when the caller has timed out waiting for the response. If you see this occuring frequently, consider increasing the flush timeout."
204
204
) ;
205
205
}
@@ -253,14 +253,14 @@ impl<E: PushMetricExporter> PeriodicReader<E> {
253
253
if response_sender. send ( false ) . is_err ( ) {
254
254
otel_info ! (
255
255
name: "PeriodReaderThreadShutdown.ResponseSendError" ,
256
- message = "PeriodicReader's shutdown has failed, but unable to send this info back to caller.
256
+ message = "PeriodicReader's shutdown has failed, but unable to send this info back to caller.
257
257
This occurs when the caller has timed out waiting for the response. If you see this occuring frequently, consider increasing the shutdown timeout."
258
258
) ;
259
259
}
260
260
} else if response_sender. send ( true ) . is_err ( ) {
261
- otel_info ! (
261
+ otel_debug ! (
262
262
name: "PeriodReaderThreadShutdown.ResponseSendError" ,
263
- message = "PeriodicReader completed its shutdown, but unable to send this info back to caller.
263
+ message = "PeriodicReader completed its shutdown, but unable to send this info back to caller.
264
264
This occurs when the caller has timed out waiting for the response. If you see this occuring frequently, consider increasing the shutdown timeout."
265
265
) ;
266
266
}
@@ -312,7 +312,7 @@ impl<E: PushMetricExporter> PeriodicReader<E> {
312
312
}
313
313
}
314
314
}
315
- otel_info ! (
315
+ otel_debug ! (
316
316
name: "PeriodReaderThreadStopped"
317
317
) ;
318
318
} ) ;
@@ -499,7 +499,7 @@ impl<E: PushMetricExporter> MetricReader for PeriodicReader<E> {
499
499
/// This function SHOULD be obtained from the exporter.
500
500
///
501
501
/// If not configured, the Cumulative temporality SHOULD be used.
502
- ///
502
+ ///
503
503
/// [metric-reader]: https://github.com/open-telemetry/opentelemetry-specification/blob/0a78571045ca1dca48621c9648ec3c832c3c541c/specification/metrics/sdk.md#metricreader
504
504
fn temporality ( & self , kind : InstrumentKind ) -> Temporality {
505
505
kind. temporality_preference ( self . inner . temporality ( kind) )
0 commit comments