Skip to content

Update MetricReader.collect to call into the MeterProvider's measurement consumer #2331

@aabmass

Description

@aabmass

Blocked by #2326

Collecting from the SDK is done through MeasurementConsumer.collect(reader) method. When MetricReaders are added to a MeterProvider, they need to be given a handle on this method so they can perform collection. Update MetricReader.collect() to be a final implementation which calls this method.

For one possible implementation, see prototype code

Metadata

Metadata

Assignees

Labels

1.10.0rc1release candidate 1 for metrics GAmetricssdkAffects the SDK package.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions