collect doesn't return anything, so returning True until we implement timeout/error handling mechanism seemed reasonable to me. What do you think?
Originally posted by @lonewolf3739 in #2401 (comment)
Also, the timeout mechanism is required in several parts of the metrics spec:
- MeterProvider.shutdown
- MeterProvider.forceflush
- Asynchronous callbacks
- MetricReader.collect
- MetricReader.shutdown
- PushMetricExporter.forceflush
- PushMetricExporter.shutdown