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

Separate the store directory from the filename in the trace, dag, report, and timeline scopes #5364

Open
mahesh-panchal opened this issue Oct 4, 2024 · 0 comments

Comments

@mahesh-panchal
Copy link
Contributor

New feature

It would be nice if the configuration scopes report, trace, dag, and timeline had separate
settings to control the directory they're stored in and separately what to name the file.

report {
    enabled = true
    directory = "${params.outdir}/pipeline_info"
    filename = "report.html"
    overwrite = true
}

Or perhaps have this also somehow linked with the new publishing syntax too since it feels like it should be related in some way.
E.g. rather than a config scope, have a function or something special that's limited in where it can be placed which can be set by the publishing syntax.

workflow {
    ...
 
    publish:
    workflow.dag()      >> 'pipeline_info/'
    workflow.report()   >> 'pipeline_info/'
    workflow.timeline() >> 'pipeline_info/'
    workflow.trace()    >> 'pipeline_info/'
}

Usage scenario

I would like to not change the filename ( and have the timestamp and session_id ), but only update where I want to store
the reports.

Suggest implementation

(Highlight the main building blocks of a possible implementation and/or related components)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants