This is an automated email from the ASF dual-hosted git repository. jrmccluskey pushed a commit to branch noneCase in repository https://gitbox.apache.org/repos/asf/beam.git
commit 56227b99088942b90cc8223c75d84698a5767cd9 Author: Jack McCluskey <[email protected]> AuthorDate: Mon Dec 9 13:54:31 2024 -0500 Replace None metric values with 0.0 in Dataflow Cost Benchmark --- sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py b/sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py index b60af124975..96a1cd31e29 100644 --- a/sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py +++ b/sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py @@ -109,5 +109,7 @@ class DataflowCostBenchmark(LoadTest): metric_key = entry.key metric = metric_key.metric if metric_key.step == '' and metric.namespace == 'dataflow/v1b3': + if entry.committed is None: + entry.committed = 0.0 system_metrics[metric.name] = entry.committed return system_metrics
