DataBiosphere / toil

A scalable, efficient, cross-platform (Linux/macOS) and easy-to-use workflow engine in pure Python.
http://toil.ucsc-cgl.org/.
Apache License 2.0
901 stars 240 forks source link

Send some metrics to QA Dockstore #5159

Open unito-bot opened 2 hours ago

unito-bot commented 2 hours ago

┆Issue is synchronized with this Jira Story ┆Issue Number: TOIL-1670

unito-bot commented 2 hours ago

➤ Adam Novak commented:

The most basic version of this is to submit a workflow run to Dockstore immediately on successful completion.

This can turn into a submit at the start and an update at the end.

adamnovak commented 1 hour ago

This is a more specific version of #5070.

adamnovak commented 40 minutes ago

We want this to be coupled with local journaling of workflow status and a time-based rate limit on submission. The journal wouldn't need an opt-in but transmission would.

adamnovak commented 25 minutes ago

Blocking prompt plus a bunch of user detection for TTY/interactive session. tkinter if it works, current TTY if it doesn't, continue without metrics if no TTY.

Also a log message saying when metrics are or are not going to dockstore and noting how to change it

Send: name of WF, how long it took, core hours/memory/cpu, Toil version

adamnovak commented 24 minutes ago

Don't spend any time on a login flow.