Skip to content

Comments

Opentelemetry blog post#786

Open
shikokuchuo wants to merge 12 commits intomainfrom
opentelemetry
Open

Opentelemetry blog post#786
shikokuchuo wants to merge 12 commits intomainfrom
opentelemetry

Conversation

@shikokuchuo
Copy link
Member

@shikokuchuo shikokuchuo commented Feb 9, 2026

Adds a blog post announcing OpenTelemetry support across the R ecosystem.

Scheduled for [2026-02-16].

The post covers Posit's cross-team effort to instrument Shiny, plumber2, mirai, httr2, ellmer, knitr, testthat, and DBI with OpenTelemetry tracing - enabling production observability with no application code changes.

  • Explains what OpenTelemetry is (traces, metrics, logs) and why it matters for R in production
  • Lists all instrumented packages with versions and what each traces
  • Walks through a concrete example: a Shiny + ellmer + mirai + httr2 weather chat app, with trace screenshots
  • Getting started guide (install otel/otelsdk, choose a backend, set env vars)
  • Zero-code instrumentation for arbitrary packages via OTEL_R_INSTRUMENT_PKGS
  • Configuration reference table

@schloerke @atheriel @gaborcsardi you're all listed as co-authors, feel free to comment / push changes directly.

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@gaborcsardi
Copy link
Member

It seems like the focus is on how people can get traces from our instrumented packages. But the title feels much broader to me. These packages are used often, but they certainly don't cover the whole R ecosystem. So maybe we could make the title more focused?

@shikokuchuo shikokuchuo marked this pull request as ready for review February 9, 2026 20:27
@shikokuchuo
Copy link
Member Author

Thanks @gaborcsardi that's a valid point. I've made the title more focused: "OpenTelemetry for R: observability across the ecosystem" -> "Bringing OpenTelemetry to R in production".

Copy link

@atheriel atheriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. I don't see anything that I'd want to add. Thanks for all your work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants