open-telemetry / open-telemetry/opentelemetry-python-genai
opentelemetry-instrumentation-genai-openai-agents gaps vs openinference instrumentation
Open
Nobody has claimed this yet.
openinference-migration
- Dominant language
- Python
- Stars
- 39
- Forks
- 63
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 175
Description
Ready to Fix
Missing Spans
None
Missing Attributes & Features
None
Blocked on Semantic Conventions
Missing Spans
- Add
RealtimeSession._put_eventspan (agents.realtime.session.RealtimeSession._put_event) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Add
RealtimeSession.send_audiospan (agents.realtime.session.RealtimeSession.send_audio) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Add
RealtimeSession.closespan (agents.realtime.session.RealtimeSession.close) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Add
HandoffSpanDataspan (agents.tracing.span_data.HandoffSpanData) (https://github.com/open-telemetry/semantic-conventions-genai/pull/447) - Add
MCPListToolsSpanDataspan (agents.tracing.span_data.MCPListToolsSpanData) - Add
GuardrailSpanDataspan (agents.tracing.span_data.GuardrailSpanData) (https://github.com/open-telemetry/semantic-conventions-genai/pull/427) - Add
CustomSpanDataspan (agents.tracing.span_data.CustomSpanData)
Missing Attributes & Features
- Capture graph node ID on
invoke_agent(OpenInference:graph.node.id) - Capture parent graph node ID on
invoke_agent(OpenInference:graph.node.parent_id) - Capture realtime turn end reason on realtime turn spans (OpenInference:
end_reason) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Capture session ID on realtime turn spans (OpenInference:
session.id) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Capture audio payload URLs on realtime audio spans (OpenInference:
input.audio.url,output.audio.url) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Capture audio MIME types on realtime audio spans (OpenInference:
input.audio.mime_type,output.audio.mime_type) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Capture audio transcripts on realtime audio spans (OpenInference:
input.audio.transcript,output.audio.transcript) (https://github.com/open-telemetry/semantic-conventions-genai/pull/394) - Capture time to first token on realtime response spans (OpenInference:
time_to_first_token_ms)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the listed OpenAI Agents entry points, including RealtimeSession methods and the span-data classes, alongside the referenced semantic-conventions-genai pull requests. Track the unchecked spans and attributes, and consider the work complete when the applicable gaps are implemented and the checklist no longer has unresolved items.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100