Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/beam_Python_CostBenchmarks_Dataflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
# The env variables are created and populated in the test-arguments-action as "<github.job>_test_arguments_<argument_file_paths_index>"
- name: get current time
run: echo "NOW_UTC=$(date '+%m%d%H%M%S' --utc)" >> $GITHUB_ENV
- name: Install Google Cloud Monitoring
run: python3.10 -m pip install google-cloud-monitoring
- name: Run wordcount on Dataflow
uses: ./.github/actions/gradle-command-self-hosted-action
timeout-minutes: 30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def __init__(


def run(self) -> None:
"""Runs the pipeline and collects cost and additional metrics."""
try:
self.test()
if not hasattr(self, 'result'):
Expand Down Expand Up @@ -127,7 +126,6 @@ def _retrieve_cost_metrics(self, result: DataflowPipelineResult) -> dict[str, An


def _process_metrics_list(self, metrics: list) -> dict[str, Any]:
"""Processes system metrics from pipeline results."""
system_metrics = {}
for entry in metrics:
metric_key = entry.key
Expand Down