Skip to content

feat(diagnostics): Support diagnostic operations with automated rules#2181

Open
Josh-Matsuoka wants to merge 2 commits intocryostatio:mainfrom
Josh-Matsuoka:diagnostics-automated-rules
Open

feat(diagnostics): Support diagnostic operations with automated rules#2181
Josh-Matsuoka wants to merge 2 commits intocryostatio:mainfrom
Josh-Matsuoka:diagnostics-automated-rules

Conversation

@Josh-Matsuoka
Copy link
Copy Markdown
Contributor

@Josh-Matsuoka Josh-Matsuoka commented Apr 8, 2026

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Fixes: #

Depends on: cryostatio/cryostat#1453

Description of the change:

Adds support to the Rule Creation Form and Rules Table for diagnostic operations with automated rules. Allows users to trigger thread and heap dumps with automated rules, and adds fields to the Rule table to display rules that trigger them.

How to manually test:

  1. Pull and build this PR as well as feat(diagnostics): Support diagnostic operations with automated rules cryostat#1453
  2. bash smoketest.bash -Ot quarkus-cryostat-agent
  3. Create a Rule through the Rule Creation form, set the match expression to true, and enable thread and heap dumps through the form then submit
  4. Check the storage for thread and heap dumps, verify that there are 3 thread dumps and one heap dump created by the rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request safe-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request] Automated Rules for Thread/Heap Dumps, async-profiler, etc.?

1 participant