Skip to content

Commit

Permalink
Add repo
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardsegarra committed Apr 26, 2024
1 parent e141af7 commit e1053bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def monitor_queued_jobs():
tags=[
"environment:dev",
f"job:{run['job_name']}",
f"repository:{run['repository']}",
f"runner_name:{run['runner_name']}",
f"public:{run['is_public']}"
]
Expand Down
1 change: 1 addition & 0 deletions src/job_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def extract_jobs_metrics_from_data(jobs_data: dict, queued_node_ids: dict):
"action": "monitor_queued",
"job_id": job["id"],
"job_name": job["name"],
"repository": job["repository"],
"is_public": queued_node_ids[job["id"]].runner_public,
"runner_name": queued_node_ids[job["id"]].runner_name,
"seconds_in_queue": (now - started_at).total_seconds(),
Expand Down

0 comments on commit e1053bd

Please sign in to comment.