Skip to content

Commit

Permalink
Update opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/meas…
Browse files Browse the repository at this point in the history
…urement_consumer.py

Co-authored-by: Aaron Abbott <[email protected]>
  • Loading branch information
ocelotl and aabmass authored Sep 7, 2023
1 parent e4b44ae commit 5ab181e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,4 @@ def collect(
for measurement in measurements:
metric_reader_storage.consume_measurement(measurement)

result = self._reader_storages[metric_reader].collect()

return result
return metric_reader_storage.collect()

0 comments on commit 5ab181e

Please sign in to comment.