Skip to content

docs(ruby-llm): use native OpenTelemetry for RubyLLM 2.1 - #1077

Merged
nik13 merged 1 commit into
mainfrom
fix/ruby-llm-native-otel
Nov 1, 2026
Merged

nik13 merged 1 commit into
mainfrom
fix/ruby-llm-native-otel

Conversation

@nik13

@nik13 nik13 commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Make RubyLLM's released native OpenTelemetry integration the default setup. The previous guide required RubyLLM 1.x because its third-party patch crashes on current RubyLLM after a successful model response.

  • Configure RubyLLM 2.1.1 with the standard Ruby SDK and OTLP exporter, both Future AGI authentication headers, and project resource attributes.
  • Explain the metadata-only behavior and removal/restart steps for the old patch. Native tracing is not presented as a replacement for legacy content capture, agent roots, or session/user attributes.
  • Keep the existing 1.x reference and its sanitizer intact in a clearly bounded legacy section. No new integration package or unpublished dependency is required.

Validation

The regression tests execute the MDX snippets with released gems against loopback model and OTLP endpoints. They cover tool loops, streaming, errors, token usage, context, idempotent enablement, privacy, and protobuf export with plain/gzip bodies; JSON is checked as a wire-codec replay, not an advertised Ruby exporter mode. CI runs the native floor/current versions (2.1.0 and 2.1.1) on Ruby 3.2 and 3.4 with outbound networking disabled during tests.

The documentation build, integration catalog checks, link audit, and rendered native/legacy sections were also checked. No live provider or Future AGI Cloud execution is claimed.

E2E: exempt (documentation repository; no product e2e/ harness)

🤖 Generated with Claude Code

Preserve the bounded 1.x reference and its privacy safeguard while making released native tracing the default. Exercise the actual guide snippets against loopback provider and OTLP endpoints.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@nik13
nik13 merged commit 7f8d603 into main Nov 1, 2026
6 checks passed
@nik13
nik13 deleted the fix/ruby-llm-native-otel branch November 1, 2026 03:51
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.

1 participant