Repository navigation
feat(agents): Instrument RubyLLM chats - #3183
sl0thentr0py wants to merge 1 commit into
Conversation
f1a41f0 to
8734db7
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8734db7. Configure here.
|
Hi Neel, RubyLLM creator here. Thanks for building this, it's great to see Sentry tracing RubyLLM natively. One request before this lands: please don't monkey-patch RubyLLM's internals. You don't need the patches anymore. I added what you were patching around to RubyLLM's public API, and it's on main for 2.2:
And in general: if you need a hook RubyLLM doesn't have, open an issue or ping me before patching. I'm happy to add it to the library, and it's usually quick. That way nothing breaks when RubyLLM moves. Smaller notes on this PR, none blocking:
|
8734db7 to
013260a
Compare
PR risk: mediumFor commit Main concerns: data sent to Sentry, public contract, host performance. This label is a hint for reviewers, not an approval. |
013260a to
a64478f
Compare
a64478f to
0fdbccc
Compare
0fdbccc to
7bf4f38
Compare
6e3a396 to
5d28a19
Compare
5d28a19 to
fdad57b
Compare
fdad57b to
a34c005
Compare
a34c005 to
2641bdb
Compare
2641bdb to
3bbf335
Compare
3bbf335 to
98116b8
Compare
98116b8 to
14a1c01
Compare
14a1c01 to
21ea28a
Compare
21ea28a to
aef8576
Compare
Co-Authored-By: OpenAI <noreply@openai.com>

Summary
Instruments RubyLLM 2.2 chat operations through the configured RubyLLM instrumenter.
gen_ai.chatroot transactions when no Sentry span is active and child spans withSentry.with_child_spanotherwise.usage.ruby_llmevents.Testing
Issues