Loading video player...
In this presentation, Barret Schloerke from Posit introduces a code demo showcasing an app that queries weather data, highlighting the underlying mechanics of observability through OpenTelemetry. They explain that OpenTelemetry offers APIs and libraries essential for effective observability and outline the two steps required for its integration. The speaker acknowledges contributions from Gabor and discusses tools like Profis and React Log for local debugging. They emphasize the importance of managing long-running spans and server load, while also addressing concerns about performance penalties associated with OpenTelemetry. The session concludes with a note on the ongoing development of OpenTelemetry and the lack of an ETA for Shiny for Python. Observability at scale: Monitoring Shiny Applications with OpenTelemetry š¬ Speaker(s): Barret Schloerke š Abstract: Understanding what happens behind the scenes in production Shiny applications has always been challenging. When users experience slow response times or unexpected behavior, developers are left guessing where bottlenecks occur. This talk introduces OpenTelemetry integration for Shiny for R, a new approach to profiling code and understanding application behavior. Through a chat-enabled weather application, we'll explore how complex user interactions trigger cascading events across multiple processes. You'll learn how OpenTelemetry's "high-quality, ubiquitous, and portable telemetry" can provide complete visibility into your Shiny application's performance with minimal setup... just a few environment variables! After walking through the chat app, you'll have a taste of how to implement comprehensive monitoring for your Shiny applications in production, enabling you to proactively identify and resolve unexpected performance issues. š Materials - https://github.com/schloerke/presentation-2025-09-17-posit-conf-otel posit::conf(2025) Subscribe to posit::conf updates: https://posit.co/about/subscription-management/