Skip to content

Commit 35cf962

Browse files
committed
clang-format
1 parent 1a505a5 commit 35cf962

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.ci/metrics/metrics.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,17 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
147147
f"Failed to submit data to Grafana: {response.status_code}", file=sys.stderr
148148
)
149149

150+
150151
def make_heartbeat_metric():
151-
return JobMetrics(
152-
"metrics_container_heartbeat",
153-
1, # queue time seconds
154-
2, # run time seconds
155-
3, # job result
156-
time.time_ns(), # created at ns
157-
0, # workflow run ID
158-
)
152+
return JobMetrics(
153+
"metrics_container_heartbeat",
154+
1, # queue time seconds
155+
2, # run time seconds
156+
3, # job result
157+
time.time_ns(), # created at ns
158+
0, # workflow run ID
159+
)
160+
159161

160162
def main():
161163
# Authenticate with Github

0 commit comments

Comments
 (0)