opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

simplify flow of prometheus metric reader

Open codeboten opened this issue 2 years ago • 0 comments

As per the following comment:

wondering if this were to return metric sequence you could simplify this chain of calls callback -> _receive_metrics -> add_metrics_data -> deque -> yield.

Originally posted by @srikanthccv in https://github.com/open-telemetry/opentelemetry-python/pull/2321#discussion_r819112008

codeboten avatar Mar 04 '22 16:03 codeboten