Class SessionDiagnosticsApi
java.lang.Object
com.github.copilot.generated.rpc.SessionDiagnosticsApi
API methods for the
diagnostics namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionPatches configured session diagnostic sources without restarting their producers.read(SessionDiagnosticsReadParams params) Reads a bounded batch of retained session diagnostics for the selected sources.
-
Method Details
-
configure
@CopilotExperimental public CompletableFuture<SessionDiagnosticsConfigureResult> configure(SessionDiagnosticsConfigureParams params) Patches configured session diagnostic sources without restarting their producers. Setting a source level to off clears its retained diagnostics and invalidates cursors selecting that source.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
read
@CopilotExperimental public CompletableFuture<SessionDiagnosticsReadResult> read(SessionDiagnosticsReadParams params) Reads a bounded batch of retained session diagnostics for the selected sources. Records are never consumed and each reader advances independently through its opaque cursor.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-