Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6826

All Python counters should use the same code path

Details

    • New Feature
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-harness
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ajamato@google.com Alex Amato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: