ai-getting-started icon indicating copy to clipboard operation
ai-getting-started copied to clipboard

Application Monitoring

Open scefali opened this issue 1 year ago • 2 comments

Is there interest in adding an application monitoring solution such as Sentry (which can be self-hosted if you don't want to pay for Saas)? If so I can, spend some time adding it in.

scefali avatar Jun 22 '23 17:06 scefali

hey @scefali thanks for this! Definitely interested in learning more - could you maybe post more details on how this works and which parts will be the most useful for devs building an AI app? Excited to dive in!

ykhli avatar Jun 22 '23 20:06 ykhli

@ykhli Sure! So Sentry has a Next.js sdk that would be useful here. It provides error, performance, and session replay monitoring out of the box. I added Sentry to the EpicStack which is also hosted on Fly.io so I'd largely follow the same strategy I did there.

As for what's most useful, I'd say definitely error and session replay. Performance is probably less so.

scefali avatar Jun 23 '23 16:06 scefali