-
|
is there a way to attach runtime metrics/metadata to jobs? Is this only possible at the op/asset level? The question was originally asked in Dagster Slack. |
Beta Was this translation helpful? Give feedback.
Answered by
smackesey
Dec 4, 2023
Replies: 1 comment 2 replies
-
|
What exactly do you mean by "runtime metadata"? It is possible to attach metadata to the job definition at definition time: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think by "attach these runtime values to the job" you mean "to the run"-- jobs are inherently "definition-time"-- think of them like a function definition. A run represents an execution of a job.
Unfortunately we don't currently have any concept of "run-level" metadata, so probably your best bet is to migrate to assets. You can still attach metadata to on op outputs that you can see in the event log though.