Skip to content

Opentelemetry blog post#786

Open
shikokuchuo wants to merge 12 commits into
mainfrom
opentelemetry
Open

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

Conversation

@shikokuchuo

@shikokuchuo shikokuchuo commented Feb 9, 2026

Copy link
Copy Markdown
Member

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.

@hadley hadley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great!

Comment thread content/blog/opentelemetry/index.md
Comment thread content/blog/opentelemetry/chat-demo.png
Comment thread content/blog/opentelemetry/index.Rmd Outdated
@gaborcsardi

Copy link
Copy Markdown
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
Copy Markdown
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".

Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd Outdated
Comment thread content/blog/opentelemetry/index.Rmd

@atheriel atheriel left a comment

Copy link
Copy Markdown

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!

@shikokuchuo shikokuchuo left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

DBI 1.3.0 was released, so just ellmer now before this can go out.

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