Class RealtimeSessionCreateResponse.Tracing
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Tracing
Realtime API can write session traces to the /logs?api=traces. Set to null to disable tracing. Once tracing is enabled for a session, the configuration cannot be modified.
auto
will create a trace for the session with default values for the workflow name, group id, and metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RealtimeSessionCreateResponse.Tracing.Visitor
An interface that defines how to map each variant of Tracing to a value of type T.
public final class
RealtimeSessionCreateResponse.Tracing.TracingConfiguration
Granular configuration for tracing.
-
Method Summary
-
-
Method Detail
-
configuration
final Optional<RealtimeSessionCreateResponse.Tracing.TracingConfiguration> configuration()
Granular configuration for tracing.
-
isConfiguration
final Boolean isConfiguration()
-
asConfiguration
final RealtimeSessionCreateResponse.Tracing.TracingConfiguration asConfiguration()
Granular configuration for tracing.
-
accept
final <T extends Any> T accept(RealtimeSessionCreateResponse.Tracing.Visitor<T> visitor)
-
validate
final RealtimeSessionCreateResponse.Tracing validate()
-
ofAuto
final static RealtimeSessionCreateResponse.Tracing ofAuto()
Default tracing mode for the session.
-
ofConfiguration
final static RealtimeSessionCreateResponse.Tracing ofConfiguration(RealtimeSessionCreateResponse.Tracing.TracingConfiguration configuration)
Granular configuration for tracing.
-
-
-
-