I'm building many internal tools with retool, but lot of times we are having errors and we can't track them.
In our public apps we use services like LogRocket or OpenReplay to record user sessions and debug errors.
I've tried to install using scripts in a retool app, but errors happens due the iframe with sandbox attribute (this forbid access to things like cookies or session storages).
Is there a way to add it as an integration to record our sessions and debug errors?
Hey @arbass! This is likely going to be a feature request. Would you mind sharing any additional context around your use case so I can share it with the team?
Sure. We are building a customer facing portal on Retool and would like to see how they are using it for our own product learning, as well as to debug any issues they might face. Right now, the way Javascript can be embedded in a component or globally in the app seems to prevent a session monitoring tool, like LogRocket, from working. I'd love to be able to use a 3rd party monitoring tool, but second to that, first party support for session recording from Retool would also be helpful.
Hey @danielhow@arbass - thanks for adding your interest in a session replay feature. We have a feature request for this internally - to track interest in a first party (built into Retool) feature for session replay, and a separate feature request (with a lot of interest) for third party session replay tool integrations.
Neither feature has been on the roadmap, so I don't have a specific timeline for when it'd become a thing - but we'll keep attaching +1s to the internal feature requests to indicate interest to our Product team!
If anyone happens to have a workaround/has found a way to integrate a third party tool to handle this, please do share
I would expect this. there isnt much on how custom components are implemented but since javascript gets ran in a sabdboxed environment dor security Id assume the importing and usage of outside scripts would be treated the same if not the whole component. to get around this you could try using a new webapp or module as a wrapper... basically just 1 custom component that imports the logging service and react-embed to embed the whole project u want logging for. the embedding lib used should let react render the html that the logging lib can watch. its just a guess tho? im on vacation and cant test it right now
Hey @bobthebear thank you for the suggestion. We paused on this project for a while, hoping native capabilities would be released around this.
No luck yet, so I will likely try your solution in the coming weeks.
Since Retool is sandboxed, it sounds like if it works, only the DOM interaction would be captured. None of the network requests or logs would be captured, correct?
No update on the LogRocket or OpenReplay request yet. However, we recently launched an app error reporting and observability beta for Enterprise plans. The beta allows you to monitor Retool apps by connecting with Datadog or Sentry. App error reporting and observability | Retool Docs