feat(diagnostics): Add thread dumps endpoint and storage#894
feat(diagnostics): Add thread dumps endpoint and storage#894andrewazores merged 28 commits intocryostatio:mainfrom
Conversation
src/main/java/io/cryostat/diagnostic/BucketedDiagnosticsMetadataService.java
Outdated
Show resolved
Hide resolved
src/main/java/io/cryostat/diagnostic/BucketedDiagnosticsMetadataService.java
Outdated
Show resolved
Hide resolved
|
/build_test |
|
Workflow started at 8/28/2025, 1:19:19 PM. View Actions Run. |
|
OpenAPI schema change detected: diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index b31cec1..c8d9877 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -736,27 +736,20 @@ paths:
type: integer
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ThreadDump'
type: array
description: OK
- "401":
- description: Not Authorized
- "403":
- description: Not Allowed
- security:
- - SecurityScheme:
- - read
summary: Get Thread Dumps
tags:
- Diagnostics
post:
parameters:
- in: path
name: targetId
required: true
schema:
format: int64
@@ -773,82 +766,61 @@ paths:
required: true
responses:
"200":
content:
text/plain:
schema:
type: string
description: OK
"400":
description: Bad Request
- "401":
- description: Not Authorized
- "403":
- description: Not Allowed
- security:
- - SecurityScheme:
- - write
summary: Thread Dump
tags:
- Diagnostics
/api/beta/diagnostics/targets/{targetId}/threaddump/{threadDumpId}:
delete:
parameters:
- in: path
name: targetId
required: true
schema:
format: int64
type: integer
- in: path
name: threadDumpId
required: true
schema:
type: string
responses:
"204":
description: No Content
- "401":
- description: Not Authorized
- "403":
- description: Not Allowed
- security:
- - SecurityScheme:
- - write
summary: Delete Thread Dump
tags:
- Diagnostics
/api/beta/diagnostics/threaddump/download/{encodedKey}:
get:
parameters:
- in: path
name: encodedKey
required: true
schema:
type: string
- in: query
- name: query
+ name: filename
schema:
type: string
responses:
"200":
content:
application/json:
schema: {}
description: OK
- "401":
- description: Not Authorized
- "403":
- description: Not Allowed
- security:
- - SecurityScheme:
- - read
summary: Handle Storage Download
tags:
- Diagnostics
/api/beta/fs/recordings:
get:
responses:
"200":
content:
application/json:
schema:
|
|
No GraphQL schema changes detected. |
|
Schema changes committed by the CI. |
|
CI build and push: All tests pass ✅ |
|
/build_test |
|
Workflow started at 8/28/2025, 2:31:21 PM. View Actions Run. |
|
No OpenAPI schema changes detected. |
|
No GraphQL schema changes detected. |
|
CI build and push: All tests pass ✅ |
|
/build_test |
|
Workflow started at 8/28/2025, 5:03:58 PM. View Actions Run. |
|
No GraphQL schema changes detected. |
|
No OpenAPI schema changes detected. |
|
CI build and push: All tests pass ✅ |
Related to: #135
Initial implementation of thread dumps endpoint and storage setup/interaction
Opening as Draft until frontend is done since this will probably end up needing adjustments as that gets implemented.
TODO: Refactor (probably into a ThreadDumpHelper class like RecordingHelper)