openai

Tracing instrumentation for OpenAI API clients.

Overview

Provides automatic tracing for the OpenAI Java SDK with support for:

Use instrument(client) to enable tracing on an OpenAIClient instance. All API calls will automatically capture request/response attributes following OpenTelemetry GenAI semantic conventions.

Using in your project

To use the openai module in your project, add the following dependency:

dependencies {
implementation("org.jetbrains.ai.tracy:tracy-openai:$version")
}

Packages

Link copied to clipboard
Link copied to clipboard