Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Cryostat 2.2 improvements: Revamped archives views and more

December 13, 2022
Max Cao
Related topics:
ContainersJava
Related products:
Red Hat build of Cryostat

    Cryostat is a container-native JVM application that provides a secure API for profiling and monitoring containers with JDK Flight Recorder. In the newest release, Cryostat 2.2, three new and updated views for archived JDK flight recordings managed by Cryostat have been added to the web client, along with new recording filters and enhanced features for recording metadata and custom labels.

    All Targets archived recordings view

    Upon navigating to the Cryostat console tab titled Archives, the first view we see is the All Targets view (Figure 1). From this view, users can see all of their archived recordings from each target JVM as well as any re-uploaded archived recordings in one convenient location.

    Screenshot of the All Targets archives view
    Figure 1: All Targets archives view
    Figure 1: All Targets archives view.

    When we first come upon the view, we can see a card that includes three tabs, one titled All Targets, the second titled All Archives, and the last titled Uploads. By default, the All Targets view will be selected. A checkbox on this view includes the option to Hide targets with zero recordings. By unchecking the box, we can see all targets Cryostat has discovered, with or without any associated archived recordings.

    Let's try archiving a recording in one of the targets to see the view in action.

    Navigate to the Recordings tab on the Cryostat console and select any target JVM from the dropdown. If any JMX authorization issues or SSL errors occur, learn to resolve these by reading the guides on the upstream Cryostat website. Click Create to create a custom flight recording. For now, we can ignore any other new features and simply create a simple recording with these values:

    • Name: Cryostat_Demo
    • Archive on Stop: Unchecked
    • Duration: 30 Seconds
    • Template: Profiling

    Create the recording by clicking the blue Create button. Then archive the created recording by pressing the checkbox next to it and then pressing the Archive button. Navigating to the Archived Recordings tab of the target, we should see the newly archived recording.

    Then, going back to the Archives view on the Console tab, we should see the target that we saved the recording from, as well as an updated archived recording count of 1 (Figure 2).

    Screehshot showing how to view archived recording within nested table from target in the All Targets view
    Figure 2: Viewing archived recording within nested table from target in the All Targets view
    Figure 2: Viewing archived recording within nested table from target in the All Targets view.

    Clicking on the dropdown menu next to the target, we can see our newly archived recording along with labels and any actions Cryostat can perform on recordings, such as deleting or downloading it, viewing the associated report, or viewing the recording in Grafana.

    New All Archives archived recordings view

    Now, quickly navigate to the second tab of the Archives section, titled All Archives. After what you did in the previous section, you should now see a single row in a table under the Directory header with a directory name (Figure 3).

    Screenshot of the All Archives archives view
    Figure 3: All Archives archives view
    Figure 3: All Archives archives view.

    The All Archives archived recordings view is a place to view any archived recordings that have been saved to Cryostat's storage. Any archived recording saved from a target JVM through Cryostat or re-uploaded to Cryostat will appear here, under its corresponding directory.

    You can perform any actions on recordings within these directories as you could normally, such as viewing a recording in Grafana, viewing an automated analysis report, or editing labels (more on that later in the article).

    If any target JVMs restart or exit when Cryostat is running, you may be unable to find previously saved archived recordings from that source target through the Recordings tab. However, you will always be able to find them here in the All Archives view under the directory table named with the same service URL as the specified target.

    Note that if you are upgrading from version 2.1.0 of Cryostat to 2.2.0, any previously saved archived recordings may only appear here in the All Archives view, under a directory named lost.

    Uploads view

    The final view that has been updated as part of Cryostat 2.2 is the Uploads view. Users may now re-upload and access their JFR recordings through the Uploads tab as part of the Archives view.

    Navigating to the Uploads tab on the All Archives view, we can see the Uploads view where we are able to re-upload and interact with any re-uploaded archived JFR recording files by clicking the + icon (Figure 4).

    Screenshot of the Uploads view
    Figure 4: Uploads view
    Figure 4: Uploads view.

    From here, we see many of the same actions as before on other views.

    For more information on how to re-upload JFR recordings to Cryostat 2.2, see the official Red Hat guide.

    Recording filters

    Another new feature in Cryostat 2.2 is the ability to selectively filter recordings in recording tables. To see this in action, navigate to the Recordings tab, and select a target from the Target Select dropdown menu.

    You can see that there is a new dropdown menu and search filter on the toolbar. Clicking the dropdown menu will bring a list of filter categories you can use to better selectively find your recording. You may apply multiple filters across multiple categories.

    Let's try using the filtering system here in the Active Recordings table. As before, create a new recording with these configurations:

    • Name: Cryostat_Demo_2
    • Archive on Stop: Unchecked
    • Duration: 30 Seconds
    • Template: Profiling

    On the Active Recordings tab, the first option in our filtering toolbar is the ability to filter selectively on the recording Name. This is the default option.

    Clicking the search bar will bring up a dropdown with the current list of names of recordings within the table. If there are many recordings within the table, you can also type within the bar to narrow down the search.

    Click Cryostat_Demo to filter selectively on the recording. Notice how an element shows up with the list of current filters currently selected (Figure 5). You can remove individual filters from the filter group (Name, in this case), remove entire filter groups, and clear all filters.

    Clicking any label of a recording under the Labels column in the recordings table will also use the new filtering system to filter the view to only show recordings that are attached with that label.

    Screenshot showing the recording table with recording name filtering applied
    Figure 5: Recording table with recording name filtering applied.

    Before moving on, let's remove all filters by using any of the filter clearing methods listed earlier.

    Enhanced labels

    The final Cryostat 2.2 feature we'll showcase in this article is the enhanced labels, which have been improved for better usability. The biggest change to labels is the ability to bulk edit a batch of labels that may be common to multiple recordings at once.

    Let's see one final example. Stay within the Active Recordings tab. Select both recordings created earlier and click the Edit Labels button on the toolbar (Figure 6).

    Screenshot showing the editing recording labels menu
    Figure 6: Editing recording labels menu.

    A drawer will appear from the right where you can bulk edit common recording labels between all selected archived recordings. Let's remove a common label and add a new label to both recordings.

    Press Edit and remove the template.name label by pressing the x button next to the label. Then press the Add Label button to create a new label key-value pair. Finally, save the changes.

    You have now successfully Bulk-edited labels from several recordings at once.

    Conclusion

    This tutorial walks through the new Archives view and explains the new features for enhanced recording metadata labels and recording filters. To learn how to operate on recordings using these labels, see this previous article on Managing JFR across instances with Cryostat and GraphQL. For more information about Cryostat, visit cryostat.io. For questions, comments and feedback, feel free to connect with us on GitHub or join our mailing list.

    Last updated: February 11, 2024

    Recent Posts

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    What’s up next?

    book cover

    The microservice architectural approach is more than just about technology: It reaches into the foundation of your organization to allow you to build truly scalable, adaptive, complex systems that help a business adapt to rapidly changing competitive markets. In Microservices for Java Developers, you'll get a hands-on introduction to frameworks and containers through a handful of familiar patterns.

    Get the free e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.