Hello, How is is possible to find out in Galaxy how long each tool needed to run in the history?
Hello, How is is possible to find out in Galaxy how long each tool needed to run in the history?
The collection of start and end times of jobs (and other metrics) is controlled by the job_metrics_conf.xml file. Details are inscribed in the file itself:
https://github.com/galaxyproject/galaxy/blob/dev/config/job_metrics_conf.xml.sample#L15
Thank you for your answer. There is no line in the galaxy.ini related to this file. I just renamed the file removing the .sample and now it works. Do you know where this file is called ?
it is being loaded from config at lib/galaxy/app.py - is this what you were asking?
I just checked, in my job_metrics_conf.xml I have <core/> and <meminfo/>.
I have 2 instances on 2 different servers both on 16.01, on the first one it works fine and I see all I want with the "view details", and on the second one I have no such informations.
How could I explain this behaviour ?
PS : apparently the informations are available only for admin user. Is it normal ?
Hi Mic
Click on the "view details' button in the history item. There you find information about "Job End Time", "Job Start Time", and "Job Runtime" for the tool which created this history item.
Hope this helps
Regards, Hans-Rudolf
Hi Hanz-Rudolf, unfortunately "Job End Time", "Job Start Time", and "Job Runtime" are not there. Please have look to the screenshot http://i.imgur.com/ZMI83MC.png
Oops, I am sorry. I haven't realized this was a modification on our local Galaxy server
Hans-Rudolf
By any chance, do you know how to make these changes?
I was probably wrong again.....are you admin on your server? You should get the details when you log in with your admin account
For deatils see: /database/compiled_templates/show_params.mako.py
Hans-Rudolf
Yes, I am an admin, but I do not know where to find the running times?
If you don't get it to display via the "view details' button despite being logged-in as admin, you can also query the PostgreSGL database, either directly (e.g. select create_time, update_time from job where id =<job-id>; ) or via the reports server (https://wiki.galaxyproject.org/Admin/UsageReports )
Hans-Rudolf
I am also looking for this. I would really need to display "Job End Time", "Job Start Time", and "Job Runtime" without interacting by myself with the database or server. My old instance displayed this informations, and I did nothing to obtain this behaviour. I don't understand why those simple informations are not available anymore.
Did you find a solution ? Do I need to change "something", "somewhere" ? I didn't find anything related to this in the galaxy.ini .