You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alex Amato (JIRA)" <ji...@apache.org> on 2019/03/13 20:34:00 UTC
[jira] [Created] (BEAM-6826) All Python counters should use the
same code path
Alex Amato created BEAM-6826:
--------------------------------
Summary: All Python counters should use the same code path
Key: BEAM-6826
URL: https://issues.apache.org/jira/browse/BEAM-6826
Project: Beam
Issue Type: New Feature
Components: sdk-py-harness
Reporter: Alex Amato
Right now we have Metrics.counter, Metrics.distribution counters which use MetricContainers to store and accumulate metrics.
CounterSet counters which use accumulators to store and accumulate metrics. This code path is optimized using cython.
See cy_combiners.py
Ideally we can keep the user interface (this should not change) for creating metrics with Metrics.counter(), .etc. But use the underlying optimized CounterSets.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)