Package com.anthropic.core.opentelemetry
Class OpenTelemetryRequestOptions
-
- All Implemented Interfaces:
public final class OpenTelemetryRequestOptionsThe
openTelemetryrequest option.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOpenTelemetryRequestOptions.BuilderA builder for OpenTelemetryRequestOptions.
-
Method Summary
Modifier and Type Method Description final Optional<String>conversationId()An ID that links this request's span to the other requests of one conversation. final OpenTelemetryRequestOptions.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OpenTelemetryRequestOptionsnone()Returns an instance of OpenTelemetryRequestOptions with every option at its default. final static OpenTelemetryRequestOptions.Builderbuilder()Returns a mutable builder for constructing an instance of OpenTelemetryRequestOptions. -
-
Method Detail
-
conversationId
final Optional<String> conversationId()
An ID that links this request's span to the other requests of one conversation. The SDK sets it as
gen_ai.conversation.id, and does not send it to the API.
-
toBuilder
final OpenTelemetryRequestOptions.Builder toBuilder()
-
none
final static OpenTelemetryRequestOptions none()
Returns an instance of OpenTelemetryRequestOptions with every option at its default.
-
builder
final static OpenTelemetryRequestOptions.Builder builder()
Returns a mutable builder for constructing an instance of OpenTelemetryRequestOptions.
-
-
-
-