Skip to content

Commit dc0c321

Browse files
authored
[SDK] remove false warning from metric reader collect (#4687)
1 parent cdb6125 commit dc0c321

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎sdk/src/metrics/metric_reader.cc‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ bool MetricReader::Collect(
3030
"collection!")
3131
return false;
3232
}
33-
if (IsShutdown())
34-
{
35-
// Continue with warning, and let pull and push MetricReader state machine handle this.
36-
OTEL_INTERNAL_LOG_WARN("MetricReader::Collect invoked while Shutdown in progress!");
37-
}
3833

3934
auto result = metric_producer_->Produce();
4035

0 commit comments

Comments
 (0)