Class BraintrustAnthropic

java.lang.Object
dev.braintrust.instrumentation.anthropic.BraintrustAnthropic

public final class BraintrustAnthropic extends Object
Braintrust Anthropic client instrumentation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.anthropic.client.AnthropicClient
    wrap(io.opentelemetry.api.OpenTelemetry otel, com.anthropic.client.AnthropicClient client)
    Instrument Anthropic client with braintrust traces

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BraintrustAnthropic

      public BraintrustAnthropic()
  • Method Details

    • wrap

      public static com.anthropic.client.AnthropicClient wrap(io.opentelemetry.api.OpenTelemetry otel, com.anthropic.client.AnthropicClient client)
      Instrument Anthropic client with braintrust traces