Class AnthropicTelemetryBuilder
java.lang.Object
dev.braintrust.instrumentation.anthropic.otel.AnthropicTelemetryBuilder
A builder of
AnthropicTelemetry.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newAnthropicTelemetrywith the settings of thisAnthropicTelemetryBuilder.setCaptureMessageContent(boolean captureMessageContent) Sets whether emitted log events include full content of user and assistant messages.
-
Method Details
-
setCaptureMessageContent
@CanIgnoreReturnValue public AnthropicTelemetryBuilder setCaptureMessageContent(boolean captureMessageContent) Sets whether emitted log events include full content of user and assistant messages.Note that full content can have data privacy and size concerns and care should be taken when enabling this.
-
build
Returns a newAnthropicTelemetrywith the settings of thisAnthropicTelemetryBuilder.
-