RubyLLM integration

Offen
#3,096 1 Kommentar 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@sl0thentr0py arbeitet bereits daran.

Seit 24.9.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

Feature Ruby sentry-ruby Traces
Problem

sentry-ruby has no AI instrumentation. To see agent runs in the Agents Dashboard, Ruby users have to create child spans and set every gen_ai.* attribute by hand.

Solution

A RubyLLM integration that emits gen_ai spans automatically for chat, tool calls, agent/workflow runs and token usage. Agent and workflow spans should reach the Agents Dashboard.

  • Hook into RubyLLM 2.0's config.instrumenter
  • Follow sentry-conventions for attributes.
  • Gate message content behind a new GenAI data_collection category.
  • Ship as a separate sentry-agents gem.

Embeddings, streaming, images, transcription, moderation and rerank come later.

supersedes #2405 and #2406. re-scopes #2884.

Vorherrschende Sprache
Ruby
Sterne
990
Forks
552
Ø Merge
2 T. 16 Std.
Gemergte PRs (30 T.)
29

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/sentry-ruby

Alle Issues in getsentry/sentry-ruby

Ähnliche Issues

Weitere Issues zu Ruby

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.