[ 
https://issues.apache.org/jira/browse/BEAM-7058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kyle Weaver updated BEAM-7058:
------------------------------
    Description: 
With the portable Flink runner, the metric is reported as 0, while the count 
metric works as expected.

[https://lists.apache.org/thread.html/25eec8104bda6e4c71cc6c5e9864c335833c3ae2afe225d372479f30@%3Cdev.beam.apache.org%3E]

 Edit: metrics are collected properly when using cython, but not without 
cython. This is because state sampling has yet to be implemented in a way that 
does not depend on cython [1].

[1] 
[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/worker/statesampler_slow.py#L62]

  was:
With the portable Flink runner, the metric is reported as 0, while the count 
metric works as expected.

[https://lists.apache.org/thread.html/25eec8104bda6e4c71cc6c5e9864c335833c3ae2afe225d372479f30@%3Cdev.beam.apache.org%3E]

 Edit: metrics are collected properly when using cython, but not without cython.


> Python SDK: Collect metrics in non-cython environment
> -----------------------------------------------------
>
>                 Key: BEAM-7058
>                 URL: https://issues.apache.org/jira/browse/BEAM-7058
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink, sdk-py-harness
>            Reporter: Thomas Weise
>            Assignee: Alex Amato
>            Priority: Major
>              Labels: metrics, portability-flink, portable-metrics-bugs
>         Attachments: test-metrics.txt
>
>
> With the portable Flink runner, the metric is reported as 0, while the count 
> metric works as expected.
> [https://lists.apache.org/thread.html/25eec8104bda6e4c71cc6c5e9864c335833c3ae2afe225d372479f30@%3Cdev.beam.apache.org%3E]
>  Edit: metrics are collected properly when using cython, but not without 
> cython. This is because state sampling has yet to be implemented in a way 
> that does not depend on cython [1].
> [1] 
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/worker/statesampler_slow.py#L62]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to