Chatto.Admin.V1.AdminDiagnosticsService (chatto v0.1.0)

Copy Markdown View Source

Provides server diagnostics for the admin system page.

Summary

Functions

Returns broker, JetStream, projection, and LiveKit diagnostics. Requires the server owner role. The call checks the LiveKit server API, so it can take up to five seconds when LiveKit does not reply.

Functions

get_system_info(client, request)

@spec get_system_info(Req.Request.t(), Chatto.Admin.V1.GetSystemInfoRequest.t()) ::
  {:ok, Chatto.Admin.V1.GetSystemInfoResponse.t()}
  | {:error, Chatto.Connect.Error.t()}

Returns broker, JetStream, projection, and LiveKit diagnostics. Requires the server owner role. The call checks the LiveKit server API, so it can take up to five seconds when LiveKit does not reply.