Skip to content

Conversation

@jmatth
Copy link
Member

@jmatth jmatth commented Nov 17, 2025

This lays some very minimal groundwork to start converting rdk from OpenCensus to OpenTelemetry for tracing. I'll open an rdk PR in parallel but this will have to get merged first so we can do a release + update the rdk go.mod.

  • Add a module named trace with a public API designed to facilitate migrating from OpenCensus to OpenTelemetry.
  • Add a new OtelDevExporter struct that does the same thing as devExporter, print traces and metrics to stdout`, but with otel spans instead of OpenCensus. For now it still uses OpenCensus metrics but that could and probably should change in the future, I just don't want to add scope creep right now.

@jmatth jmatth requested a review from a team November 17, 2025 19:41
@viambot viambot added the safe to test Mark as safe to test label Nov 17, 2025
@viambot viambot added safe to test Mark as safe to test and removed safe to test Mark as safe to test labels Nov 17, 2025
@cheukt
Copy link
Member

cheukt commented Nov 18, 2025

looks good, but adding some tests for OtelDevelopmentExporter would be good

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

Labels

safe to test Mark as safe to test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants