This question was originally asked on the Trino Slack.
Hi everyone,
Is there any example code/blog/documentation regarding how we can dump plans for previously executed queries and view it from UI several days/week after execution?
This question was originally asked on the Trino Slack.
Hi everyone,
Is there any example code/blog/documentation regarding how we can dump plans for previously executed queries and view it from UI several days/week after execution?
Not that I know of but this is something that has been asked in the past. In general you would have to write your own plugin that listens for a query event and dump info to some location. You will just set up your listener call whatever observability tool you have
There are some open source event listener plugins available that you may want to check out which you could either use or base your own plugin off of as @brian.zhan mentioned: