Replies: 1 comment 1 reply
-
Does anybody at least have any ideas for how to further diagnose this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to Dagster. I've created a couple of sensors to watch for failures. I want 2 different failure sensors, looking at distinct groups of jobs using the monitored_jobs sensor parameter. Something like this:
I've also tried this with using
@run_status_sensor
while additionally specifyingrun_status=DagsterRunStatus.FAILURE
.Regardless of what I do, both sensors pick up a failure in any job, as if
monitored_jobs
is not being used to reduce the scope of what is monitored. I can clearly see that a failure in a job which is insev1_jobs
also causes the other sensor intended forsev2_jobs
to execute, based on looking at the logs for that sensor.One thing that is also making this harder to diagnose is that I cannot find the
monitored_jobs
property anywhere, whether in the UI or by printing for examplemy_sensor2.monitored_jobs
. So I cannot absolutely verify that themonitored_jobs
properties are correct, but I believe that they are.monitored_jobs
for me is a list ofUnresolvedAssetJobDefinition
objects, each individually determined bydefine_asset_job()
and placed in a Python list before being sent over.I'm using 1.9.9. Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions