Skip to main content

Requirements

  • Java 11 or higher
  • OpenTelemetry Java 1.49.0 or higher

Gradle

Add the following dependencies to your build.gradle:

Maven

Add the following dependencies to your pom.xml:

Package Overview

openinference-semantic-conventions

Provides Java constants for OpenInference semantic conventions, including span attributes and span kinds. Package: com.arize.semconv.trace

openinference-instrumentation

Base instrumentation utilities including OITracer and TraceConfig for configuring trace behavior. Package: com.arize.instrumentation

openinference-instrumentation-langchain4j

Auto-instrumentation for LangChain4j applications. Package: com.arize.instrumentation.langchain4j

openinference-instrumentation-springAI

Instrumentation for Spring AI applications using Micrometer observation handlers. Package: com.arize.instrumentation.springAI

Next Steps