Is there a way to see the console logs of a function on objects from the frontend where this function is triggered? Ie in browser inspect console tab?
Reason I’m asking is that my function in the live preview has a timeout limit of 60s, while the published function has the limit of 300s. We’d like to evaluate what’s happening outside of the 60s mark, which currently we don’t see in live preview.
Through most applications, execution requests will not return any debug logs.
If you execute the published Function in the functions helper in Code Repositories (the tab next to Live Preview), that will return debug logs and also respect any timeout overrides.
Is there any way to forward FOO logs from a live function to telemetry service?
And is there any way for the maintainer of a function to monitor the performance, error rate, or other standard application metrics of a live function?
Logs in live preview are helpful for development & debugging a specific error, but live logs are necessary for detecting problems in the first place.
Unfortunately its not possible to add any persistent telemetry to Functions at the moment. We are keenly aware of the gap here and it is something we’re working toward addressing – however I’m unable to share any timelines or details of what that might look like at the moment.