Hi folks! Reminder that <@U034ETZ0QBE> is doing a ...
# shameless-promo
p
Hi folks! Reminder that @Rob Syme is doing a webinar today all about cost tracking for Nextflow runs in the cloud: https://seqera.io/events/webinar-september-2024-cost-optimization/ Should be an interesting watch! 🎉 💸 ☁️
🔥 5
s
is there a recording of this webinar?
p
Yup - if you sign up you should get an email with the access details 👍🏻
s
thanks!
in the webinar you mentioned that you would share this resourceLabels setting:

https://youtu.be/oTZ9dz5zHV0?si=mbFBmLd90GIOunWO&t=1437▾

do you know where that was shared?
p
@Rob Syme any ideas? 👆
blob ty 1
r
Hi Steve. Until I get the blog post out, here is the snippet in handy copy-pasteable form:
Copy code
process {
   resourceLabels = {[
        uniqueRunId: TOWER_WORKFLOW_ID,
        pipelineProcess: task.process.toString(),
        pipelineTag: task.tag.toString(),
        pipelineCPUs: task.cpus.toString(),
        pipelineMemory: task.memory.toString(),
        pipelineTaskAttempt: task.attempt.toString(),
        pipelineContainer: task.container.toString(),
        pipelineUser: workflow.userName.toString(),
        pipelineRunName: workflow.runName.toString(),
        pipelineSessionId: workflow.sessionId.toString(),
        pipelineResume: workflow.resume.toString(),
        pipelineRevision: workflow.revision.toString(),
        pipelineCommitId: workflow.commitId.toString(),
        pipelineRepository: workflow.repository.toString(),
        pipelineName: workflow.manifest.name.toString()
    ]}
}
🎉 1
s
thanks!