Skip to content

How to access the run event logs of all code locations under dagster helm deployment #18807

Answered by prha
Lukashab asked this question in Q&A
Discussion options

You must be logged in to vote

I think this looks like it could work, but some things you might want to try:

  • Ensure that you're accessing the correct instance. I think what you have should work, but would confirm that the instance configuration off of DagsterInstance.get matches the instance provided off of the OpExecutionContext (which is provided to the op if you add a context parameter. See https://docs.dagster.io/_apidocs/execution#dagster.OpExecutionContext.instance)
  • Ensure that you can fetch the run records that you expect. You should be able to open a Python interpreter in the environment, call DagsterInstance.get() and make the get_run_records call with the filter you want. This could help you debug in a local…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lukashab
Comment options

Answer selected by Lukashab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: logging Related to Logging deployment: k8s Related to deploying Dagster to Kubernetes area: code-locations Related to Code Locations and Definitions
2 participants