-
Notifications
You must be signed in to change notification settings - Fork 798
Closed
Labels
bugSomething isn't workingSomething isn't workinggen-aiRelated to generative AIRelated to generative AIinstrumentation
Description
OpenAI instrumentation currently only emits events if the current span is recording
Lines 59 to 63 in 2756c1e
if span.is_recording(): | |
for message in kwargs.get("messages", []): | |
event_logger.emit( | |
message_to_event(message, capture_content) | |
) |
This was identified as a bug while discussing #3203 (comment). Follow up work is to allow users to get this same behavior (smart event sampling) but with SDK config rather than hardcoding in instrumentation (see #3207).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggen-aiRelated to generative AIRelated to generative AIinstrumentation
Type
Projects
Status
Done