Hi, Is there a way to get the duration of a run in...
# ask-community
a
Hi, Is there a way to get the duration of a run in a
multi_asset_sensor
? I’m triggering a slack notification job from the sensor and I’d like to add how long did the materialization take. I’m getting most of the information I use from the event log entries from
context.latest_materialization_records_by_key()
but couldn’t find the duration.
s
Hey @Andras Somi - I created a discussion to answer this, because I suspect others might be curious too: https://github.com/dagster-io/dagster/discussions/12665
a
@sandy This is great, thanks!