diff --git a/src/app.py b/src/app.py index 5706063..1e5011f 100644 --- a/src/app.py +++ b/src/app.py @@ -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']}" ] diff --git a/src/job_processor.py b/src/job_processor.py index b9b8888..47cfb45 100644 --- a/src/job_processor.py +++ b/src/job_processor.py @@ -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(),