https://dagster.io/ logo
Title
c

Casper Weiss Bang

03/30/2023, 7:36 AM
We are improving our observability of our dagster assets and getting better alerts in our logging system (which we've redirected our dagster logs to) - I'd however love to know if a given RUN_FAILURE was a result of a manually ran job or one triggered by a sensor. I am not entirely sure how that could be. Any tips?
s

sean

04/03/2023, 4:38 PM
Hi Casper, If a run is started by a sensor, the run tags should include
dagster/sensor_name
-- so you could look for the absence of this tag.
c

Casper Weiss Bang

04/03/2023, 8:16 PM
right - and
sensor_name
here is not a string i have to replace? it is the key whereas the value is the actual name, right?
s

sean

04/03/2023, 9:49 PM
exactly