You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 01:49:26 UTC

[GitHub] [beam] kennknowles opened a new issue, #19470: Python SDK: Collect metrics in non-cython environment

kennknowles opened a new issue, #19470:
URL: https://github.com/apache/beam/issues/19470

   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](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](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/worker/statesampler_slow.py#L62)
   
   Imported from Jira [BEAM-7058](https://issues.apache.org/jira/browse/BEAM-7058). Original Jira may contain additional context.
   Reported by: thw.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org