Skip to content

Commit 4bf394e

Browse files
committed
revert to stderr
1 parent bbb3dce commit 4bf394e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/metrics/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
201201
"""
202202

203203
if len(workflow_metrics) == 0:
204-
print("No metrics found to upload.", file=sys.stdout)
204+
print("No metrics found to upload.", file=sys.stderr)
205205
return
206206

207207
metrics_batch = []
@@ -259,7 +259,7 @@ def main():
259259
)
260260

261261
upload_metrics(current_metrics, grafana_metrics_userid, grafana_api_key)
262-
print(f"Uploaded {len(current_metrics)} metrics", file=sys.stdout)
262+
print(f"Uploaded {len(current_metrics)} metrics", file=sys.stderr)
263263

264264
for workflow_metric in reversed(current_metrics):
265265
if isinstance(workflow_metric, JobMetrics):

0 commit comments

Comments
 (0)