Details
-
Bug
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
The element count metric represents the number of elements within a PCollection and is interpreted differently across the Beam SDK versions.
In the Java SDK this represents the number of elements and includes how many windows those elements are in. This metric is incremented as soon as the element has been output.
In the Python SDK this represents the number of elements and doesn't include how many windows those elements are in. The metric is also only incremented after the element has finished processing.
The Go SDK does the same thing as Python.
Traditionally in Dataflow this has always been the exploded window element count and the counter is incremented as soon as the element is output.