OpenTelemetry with Shiny
Harnessing the power of OpenTelemetry inside Shiny applications for observability in production
Within life sciences, Shiny applications are a vital component to empower data science through exploratory insights, automation pipelines, clinical design, and much more. Understanding application peformance and usage patterns when deployed to production platforms can be a challenge when trying to implement custom solutions. In this edition of the R/Pharma Hangout sessions, Posit software engineer Barret Schloerke joins us to demonstrate the power of OpenTelemetry for collecting observability data inside a Shiny application and the key benefits that aid developers in production.
Resources mentioned in the Hangout
- Example Shiny application used in this session https://github.com/rinpharma/hangouts/tree/main/shiny-otel
- OpenTelmetry with Shiny article https://shiny.posit.co/r/articles/improve/opentelemetry/
{otelsdk}vignette on collecting telemetry data https://otelsdk.r-lib.org/reference/collecting.html- Logfire https://logfire-us.pydantic.dev
- Otel Desktop Viewer https://github.com/CtrlSpice/otel-desktop-viewer