gen_ai.realtime_session.id
DevelopmentGenAI registrystringas of v1.45.0
The unique identifier for a realtime, bidirectional streaming session.
A realtime session is a long-lived streaming connection between client and inference server.
Telemetry recorded within the same realtime session can be correlated using this identifier.
Examples:
- OpenAI Realtime exposes a session identifier (session.id).
- Gemini exposes no session identifier when using the Developer API; the enterprise API
provides one.
Instrumentation MAY generate or reuse a per-connection identifier or leave it unset when the instrumented library does not provide one.
Instrumentations MUST NOT use gen_ai.conversation.id as a realtime session identifier.
Examples
- sess_5j66UpCpwteGg4YSxUnt7lPY
Used by
events (2)
- gen_ai.client.realtime_session.ended
- gen_ai.client.realtime_session.started
spans (2)
- gen_ai.realtime_inference.client
- gen_ai.user_speech.internal
* required on that signal.