Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tibanna Metrics isn't being gathered. #281

Closed
klai5 opened this issue May 6, 2020 · 8 comments
Closed

Tibanna Metrics isn't being gathered. #281

klai5 opened this issue May 6, 2020 · 8 comments

Comments

@klai5
Copy link

klai5 commented May 6, 2020

Hello!

I am using snakemake with tibanna. Is there something I have to enable/configure in order for metrics to be gathered? My postrun json metrics is empty:

"Metrics": {
            "max_mem_used_MB": "",
            "min_mem_available_MB": "",
            "total_mem_MB": "",
            "max_mem_utilization_percent": "",
            "max_cpu_utilization_percent": "",
            "max_disk_space_utilization_percent": "",
            "max_disk_space_used_GB": "",
            "max_ebs_read_bytes": ""
}

Thanks!

@SooLee
Copy link
Member

SooLee commented May 6, 2020

@klai5 You shouldn't have to add any configuration to get the metrics, but if the instance runs for less than 5 minutes, the metrics data may not be collected. Was this the case? You can also check by running tibanna plot_metrics -j <job_id> and look at the html link generated.

@klai5
Copy link
Author

klai5 commented May 6, 2020

Thanks for the fast response! No i was running picard's illuminabasecallstosam and it took ~25 minutes. I ran that command prior to checking the postrun json and it gave me "Metrics plot is already on S3 bucket." I checked the html/tsvs at the locations provided by the command and they were empty. The only thing logged was the start & end time. Do you know if you have to enable anything on the AWS side? Thanks again!

@SooLee
Copy link
Member

SooLee commented May 6, 2020

@klai5 Is your region us-east-1? It looks like the metric collection may not work for the other regions.

@klai5
Copy link
Author

klai5 commented May 6, 2020

I see. I am using us-west-2. Is there any way to make this work on other regions, or should I exclusively use us-east-1?

@SooLee
Copy link
Member

SooLee commented May 6, 2020

I'm fixing it now.

@SooLee
Copy link
Member

SooLee commented May 6, 2020

@klai5 It should work with 0.17.3. It requires redeployment. Thanks for reporting it and sorry about the problem!

tibanna deploy_core -n check_task_awsem [-g group] [-s suffix]

@SooLee
Copy link
Member

SooLee commented May 6, 2020

@klai5 You should be able to get the metrics for the current job using tibanna plot_metrics -j <job_id> without redeployment.

@klai5
Copy link
Author

klai5 commented May 6, 2020

Looks like it works! Thanks!

@klai5 klai5 closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants