https://dagster.io/ logo
Title
t

Tyrone Wong

02/23/2023, 5:30 PM
Hey! New to dagster and had a question about sensors for detecting failures. I’ve set up some metadata for a job that contains a team name and on failure, I’d like to have the sensor ping some alerting api but have this vary depend on the team metadata. I pass a RunStatusSensorContext into the function run for the sensor. I was wondering if the RunStatusSensorContext had access to the job metadata so it can figure out what team to send the alert to
c

claire

02/25/2023, 12:09 AM
Hi Tyrone. How are you specifying variable metadata on the job?
t

Tyrone Wong

03/01/2023, 12:09 AM
Solved! Ignore this 🙂 Thanks!