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

Damian

04/03/2023, 4:01 PM
Hi guys, is there a way to check daemon status (like on /health in dagit) using python or cli? I have my dagster on docker and sometimes (when i run really heavy and long jobs) some daemons would die but daemon container as a whole is still running. Im looking for ways to alert me or restart when that happens.
d

daniel

04/03/2023, 8:41 PM
Hi Damian - you could use the Dagster GraphQL API for this, but we don't have a built-in CLI for it
One way is to check what query Dagit is making in the Network tab and then copy it and call it from a Python script
d

Damian

04/04/2023, 9:47 AM
Thanks @daniel I will check that out
2 Views