https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Andras Somi

03/02/2023, 10:44 AM
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

sandy

03/02/2023, 7:45 PM
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

Andras Somi

03/02/2023, 7:56 PM
@sandy This is great, thanks!
2 Views