Service name: <MachineName>-Diagnostics (one per machine).
Diagnostics
Calls for shutting down Diagnostics and creating PixotopeDump archives.
Shutdown [CALL]
Shutdown
Stops the Diagnostics service after responding to the caller.
No params.
Result
|
Result |
BOOLEAN |
Always `true` when the shutdown request was accepted. |
Example - Shut down DiagnosticsRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|
CreateDump [CALL]
CreateDump
Collects a PixotopeDump zip for this machine. When `IncludeAllMachines` is true, Diagnostics calls `GetLocalDump` on reachable peer Diagnostics services and combines all results into one zip.
Params
|
IncludeAllMachines |
BOOLEAN |
If true, gather and combine dumps from all reachable Diagnostics services. |
|
RemoteTimeoutSecs |
NUMBER |
Optional per-peer timeout in seconds for remote `GetLocalDump` calls. |
Result
|
Result |
OBJECT |
`DumpResult` with `Passed`, `ZipPath`, optional `Error`, and `Info` metadata. |
Example 1 - Create a local dumpRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|
Example 2 - Create a combined dumpRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|
GetLocalDump [CALL]
GetLocalDump
Collects a PixotopeDump zip for this machine only. This is used directly by local callers and internally by `CreateDump` when collecting remote peer data.
Params
|
ReturnBytes |
BOOLEAN |
If true, include the produced zip as base64 in `Result.ZipBytes`. |
|
Compress |
BOOLEAN |
If false, write an uncompressed transport zip for later recompression by the coordinator. |
|
OutputNextToExe |
BOOLEAN |
If true, write the compressed zip next to the running executable instead of the standard Logs folder. |
|
RemoveExistingDumps |
BOOLEAN |
If true, remove existing `PixotopeDump*.zip` files from the output directory before writing the new dump. |
Result
|
Result |
OBJECT |
`DumpResult` with `Passed`, `ZipPath`, optional `ZipBytes`, optional `Error`, and `Info` metadata. |
Example - Collect a local dump and return bytesRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|