This doc is for laying out the steps to determine which agent a specific job is running on.
- Discover the job id. For this guide we will use aaaa-bbbb-ccc-11-222-11 for the ID
- Jump into the conductor and cd into /home/app/db
- Open the job log
- sqlite3 job-aaaa-bbbb-ccc-11-222-11-log.db
- Query for the assigned agent
- select * from logs where type=2;
- select * from logs where type='agent-assigned'; (pre version 24.7.0)
- The results will show the agent ID used for source and target.
- The agent ID can then be used to look up the agent in the conductor database in postgres
-
conductor=# select name from agents where id='aaaa-bbbb-ccc-11-222-11';
name
------------------------
agent-1
-
conductor=# select name from agents where id='aaaa-bbbb-ccc-11-222-11';
Comments
0 comments
Please sign in to leave a comment.