Skip to content

How to Enable Tracing For Realtime Runner? #1880

@Ali-Olliek

Description

@Ali-Olliek

Please read this first

  • Have you read the docs?Agents SDK docs
  • Yes ✔️
  • Have you searched for related issues? Others may have had similar requests
  • Yes ✔️

Question

Describe your question. Provide details if available.

I was checking OpenAI's Dashboard to check the traces, and it shows that my Realtime Traces are not appearing on the dashboard.
I used to be able to see them with the proper traces up until 25th of September, I was using version 0.3.0 of the Library.

I am providing the following object to the Runner method

{
    "model_settings": {
    "voice": "ash",
    "turn_detection": "server_vad",
    "model_name": "gpt-realtime",
    "tracing": {
            "workflow_name": "Realtime Workflow",
            "group_id": "123",
            "metadata": {
                "site": "test.com
            }
        }
    }
}

I even set the default values of the tracing object in the DEFAULT_MODEL_SETTINGS at agents/realtime/openai_realtime.py, but I still could not see the traces in the dashboard.

I removed any set_tracing_export_api_key() and associated code from my codebase assuming it would force using the DEFAULT_MODEL_SETTINGS.

I would like to know how to force tracing for my Realtime flow and whether there are some prerequisites to tracing that I am not following.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions