opentelemetry-python
                                
                                
                                
                                    opentelemetry-python copied to clipboard
                            
                            
                            
                        MeterProvider forceflush must invoke forceflush on push metric exporters
From the spec:
ForceFlush MUST invoke ForceFlush on all registered MetricReader and Push Metric Exporter instances.
We didn't add force_flush on metric reader interface. I think @aabmass suggested we will just invoke collect.
This seems like a spec bug; there is no ForceFlush on the MetricReader https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#metricreader-operations