BootUI
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
    • Try the sample app
    • Setup
    • Spring WebFlux
    • Quarkus
    • CI/CD and GitHub Actions
    • Java agent
    • Activation and safety
    • Non-standard runtimes
    • Troubleshooting
    • All features
    • Scorecard
    • Live Activity
    • Runtime Insights
    • Advisors
    • Runtime
    • Configuration
    • Database
    • Security
    • Services
    • Diagnostics
    • Java Agent
    • Developer tools
    • Workshop overview
    • 00 - Runtime understanding
    • 01 - Setup and tooling
    • 02 - Configuration and wiring
    • 03 - Runtime journal
    • 04 - Runtime Insights
    • 05 - Java instrumentation
    • 06 - Assessment and impact
    • 07 - Agent change loop
    • 08 - Going further
    • Participant worksheet
    • A - Prompts
    • B - Troubleshooting
    • C - Frameworks
    • D - Extensions
    • Properties
    • Framework support
    • AI agents
    • Command line
    • Framework-managed CI tests
    • CI reference
    • BootUI family
    • Known limitations
    • Architecture
    • REST API
    • Spring
    • Hibernate
    • Database
    • Security
    • Vulnerabilities
    • Memory
    • Pentesting
    • GraalVM readiness
    • CRaC readiness
    • Quarkus
    • Quarkus security
    • Repository
    • Specification
    • Roadmap
    • 2.0 design record
    • Try 2.0 early
    • v2 validation report
    • Releasing 2.0
    • Quarkus design notes
    • WebFlux design notes
  • Privacy

Runtime Insights

Runtime Insights: route observations with topic filters, check or subject grouping, and event linkage

Runtime Insights answers what this run did that no single panel shows. It reads the runtime journal and projects its retained events into observations. Each one names what was counted on a route, never a cause, a severity, or a score.

Opening the panel starts no capture, scan, database read, or network call. It re-reads what the journal already recorded and caches the result until the journal records more, a source's capture capability or panel visibility changes, or the live exposure policy changes. Sentences and evidence that quote recorded text, such as a framework warning's message or a request path, follow the same rule as Live Activity.

The normal panel is the current process run. A direct REST caller can qualify a durable historical run with namespace, application, and run; those reads do require a bounded database projection through a running application.

The panel is available while the runtime journal is enabled (bootui.runtime-journal.enabled), on Spring MVC, Spring WebFlux, and Quarkus. Where a stack lacks a fact, the observations that need it say so: WebFlux marks no request phases, Quarkus records no transactions and intercepts self-invocation, and Spring MVC has no event loop.

The panel leads with the run's observation count across its recorded requests, the share of events linked to their request, and the comparison with the previous run. This total stays the same when the list is filtered. Five tabs follow:

TabWhat it holdsDeep link
ObservationsEvery retained observation in compact groups, narrowed by search and Topic(default)
ChangesThe comparison with the previous run?tab=changes
Change impactWhat a changed route, bean, class, table, cache, or host reaches?tab=impact, ?impact=<symbol>
JFR profileThe on-demand resource profiler?tab=profile
Coverage & limitsHow events were linked, checks that did not fully run, routes not exercised?tab=coverage

Use Group by → Check to review one kind of observation across the run, or Subject to bring together the observations about one route or resource. Topic pills show their counts; an open group offers quick-switch buttons and an observation selector when it has several matches. The subject action on an observation pivots to the other observations on that subject without starting a capture.

Opening a group immediately shows its first matching observation and loads its evidence. Filters alone load no evidence; a deep link selects the exact observation, topic, tab, or change impact it names. Agents read the same facts through the get_runtime_insights, get_runtime_insight, get_runtime_impact, and get_runtime_run_comparison MCP tools and the bootui insights CLI commands (AI agents).

Live Activity links here in two places. Under its KPIs, Why is … slow? opens the slowest route's time breakdown. In a request's drawer, Why this route is slow loads that route's breakdown on demand. A persisted request shows the breakdown for its own recording; the link to Runtime Insights is only shown for the current run. If a persisted row does not identify its recording, its profile is unavailable rather than falling back to the current run.

Findings

Each group names its check, summarizes what it records, and counts its observations. Expand it to see its routes or subjects. A row opens in place on its sentence, what to check, the requests to open, its evidence, and its limits. Each finding has a stable id that survives refreshes and restarts, one to three conditional checks, up to three exemplar request ids to open in Live Activity, and at most 20 evidence rows. A breakdown's evidence draws each phase's share as a bar, with the largest phase emphasized and every number kept beside it.

Copy for AI on an open observation previews it as one Markdown document (its sentence, the checks to run, the requests to open, and its evidence), built from what the panel already shows. Copying sends nothing. Export JSON saves the report as the panel received it, with no new request.

The header states the window the journal retains, and a coverage strip shows how each source's events are linked to a request: by request id, by execution id, by trace id, or not at all. bootui.runtime-insights.ai-token-threshold sets the tokens of one model call above which AI usage reports its route from that call alone.

Performance deep dives

Opening a route-time-breakdown observation adds Performance deep dives actions:

  • Open the JFR profile tab opens the profiler without starting a recording. A recording starts only when Profile resources is explicitly selected.
  • When Code Paths is available and enabled, its action opens the observed route's retained method timings and calls, preserving the route's HTTP method and path.
Deep dive availability

This is route-level evidence, not an exact request replay; an available sensor does not guarantee a retained tree for that route. Without the agent or its code-paths sensor, a tip explains how the Java agent adds deeper insights, shows the runtime's actual reason, and links to agent setup when that panel is usable. Disabled, missing, or otherwise unavailable Code Paths panels show their reason instead of an unusable action; an observation without a known route offers only the JFR action.

The observations

Twenty-nine observations examine the journal's retained completed work and garbage collections, plus Code Inventory's changed-method evidence. The table says what each counts; the drawers below hold the qualifications.

ObservationWhat it counts
route-time-breakdownWhere a route's warm requests spend their time, by phase
route-latency-outliersSlow requests compared against a retained warm 2xx baseline on the same route
exception-hotspotsException groups per route
errors-behind-2xx2xx responses that hid a rollback, exception, failed task, ERROR log, or downstream 5xx
repeated-selectsThe same SELECT run repeatedly in one request (N+1)
connections-per-requestRequests holding two or more connections of one data source at once
safe-method-dmlGET or HEAD requests that wrote
proxy-bypassSpring only: annotated methods missing a proxy effect whose capture is available
anonymous-data-reachAnonymous successful requests that wrote a table
anonymous-success-on-restricted-route2xx answers to anonymous requests on a restricted route
split-transaction-writesWrites across data sources or recorded transaction boundaries, with atomicity to verify
unbatched-write-loopRequests that ran one write statement ten times or more, each without a JDBC batch
transaction-across-remote-callTransactions still open during a slow REST client or AI call
lazy-sql-after-handlerSQL run while the response was written, outside every transaction
event-loop-blockingJDBC executions and native synchronous Spring HTTP calls issued on an event-loop thread
orm-auto-flushRequests where Hibernate flushed before queries often
large-persistence-contextRequests whose Hibernate session held 500 entities or more at a flush
slow-flushRequests whose Hibernate flushes took 100 ms or more and a fifth of their ORM time
connection-reacquisitionRequests whose Hibernate session borrowed a JDBC connection two or more times in a row
readonly-candidate-transactionSpring: read-write transactions of one method that changed no entity and ran no write
paged-without-orderSELECTs that limit their rows without an ORDER BY, per route
gc-inflated-latencySlowest requests that overlapped a stop-the-world GC pause
transactional-listener-skippedSpring: a @TransactionalEventListener that never ran
after-commit-writesSpring: JDBC writes run by an after-commit, after-rollback, or after-completion listener
heap-growth-after-gcOld-generation occupancy rising across the run after collections
ai-usage-by-routeAI operations per route, job, or listener: calls, tokens, growth, truncation
framework-warnings-by-routeWARN and ERROR events from framework loggers, grouped by route
work-after-responseExecutor work still running after the response started
changed-code-not-executedChanged or added methods that nothing executed in this run
Observation details: timing, errors, and exceptions
  • route-time-breakdown: where a route's warm requests spend their time: authentication, authorization (Spring, from the authorization source: a request's checks out of the filters, a method's out of the handler), other filters, connection wait, SQL, REST client calls, AI calls, synchronous message sends (RabbitMQ and JMS), other handler work, and the response write. Overlapping calls count once, and each route's first request is reported apart as cold.
    • A model call reported by Spring AI or Quarkus LangChain4j is placed over the HTTP call that carried it, so that time counts once, as AI. One known only from a GenAI span is placed by its wall-clock start, to the millisecond, and adds only its time inside the handler that no placed call covers. Tool and retrieval operations stay in the handler they wrap.
    • A Kafka send is timed until the broker's asynchronous acknowledgement, so it stays in the handler's time and the row says so.
    • On Spring MVC and Quarkus, a request that reached no handler BootUI marks, such as an Actuator or /q/ endpoint or a request the security filters answered with 401 or 403, is never split as handler work: it is left out of its route's phases, and a route whose requests mostly did is reported insufficient with its recorded calls.
    • On WebFlux, which marks no handler or response phase, a route whose requests named nothing at all, neither a recorded call nor authentication time, is insufficient, since its breakdown would be one unattributed span.
    • With the BootUI agent's code-paths sensor, a route whose tree is not assembly only has its other handler work split into its top five application methods by own time (their self time minus the recorded calls stamped to them), named Handler: Class.method, with the rest as Other handler time. The parts never exceed the handler's work, and a recorded call without a stamp, as one recorded on another thread, stays in its method's own time, which the observation says. The handler is not split when none of its calls carried a stamp, or when calls without one take 10 % of its handler phase or more (Code Paths).
  • route-latency-outliers: compares a route's slowest request against its retained warm 2xx baseline request closest to the warm median (once the route has at least five warm 2xx requests after its first retained request), when the slowest request is at least four times the warm median and at least 100 ms slower and differs in recorded child work (verified JDBC executions or distinguishing literal-free SQL shapes, connection wait, cache hits and misses, outbound REST client calls, or Hibernate flushes and peak entities). Its exemplars name the outlier request first and the baseline request second, opening the Request Profile drawer directly on the comparison.
  • exception-hotspots: exception groups per route, by a signature that survives line shifts, marked when the previous run served the route without them. Specific checks follow captured exception subclasses and causes, preferring the deepest cause over a serialization wrapper.
  • errors-behind-2xx: 2xx responses whose own request rolled back its transaction, recorded an exception, had one of its own tasks fail, wrote an ERROR log, or received a downstream 5xx. Matching exceptions a retry or fallback recovered are listed apart, without hiding other errors in the same request.
    • A task is work the request handed to an executor BootUI decorates or the BootUI agent follows. Its exception, ERROR log, WARN log carrying an exception (as JHipster's @Async mail sender logs a failed send), or a task the agent saw fail after the response started counts as the task's failure, never the request thread's. A failed task the request joined is not counted from the agent's outcome alone.
    • On Quarkus, a ManagedExecutor task that runs where its request's context is already current keeps the request's execution, so its failures count as the request's own.
  • framework-warnings-by-route: WARN and ERROR events grouped by logger, template, and route. Messages that differ only by an id (a UUID, a long hexadecimal id) or by a numeric path segment are one group, quoted with <id> and <n>.
    • One row of its own holds the framework ERROR events that carried no request or execution id, such as a container's errors while parsing requests or a failure at startup. An error written on the thread of a request that failed, within a second after it ended, as Tomcat logs an exception a servlet threw once the request's filters returned, is taken as that request's and left out of that count, which a limitation says. That row's affected count is its error events, so it ranks among the kind's other rows.
Observation details: database, transactions, and ORM

safe-method-dml, split-transaction-writes, after-commit-writes, and unbatched-write-loop share a lexical write classifier. It recognizes captured INSERT, UPDATE, DELETE, MERGE, and REPLACE statements with leading SQL comments, but not write verbs inside comments or SELECT literals. It is not a SQL parser: CTE-headed writes and procedure calls are not classified as writes, so no finding does not prove read-only behavior. Classification changes neither execution/preparation provenance nor transaction placement and does not establish affected-row counts.

  • proxy-bypass: Spring MVC and WebFlux only. Executed JDBC statements whose application frames name a @Transactional or @Cacheable method are checked against the recorded transaction or preceding cache accesses. @Async-only methods remain unassessed: captured thread names and kinds prove neither physical thread identity nor whether advice ran, and WebFlux records the request's completion thread, not its dispatch thread. An unassessable async frame does not hide an independently judgeable outer transaction or cache boundary. Recommendations distinguish a captured same-class caller from another caller without diagnosing self-invocation, missing infrastructure, or an unmanaged instance from the stack alone. A missing cache access counts only for a proven synchronous manager path under standard Spring proxy caching, with the journal's cache source and Cache panel enabled. The request must start after that manager's current continuous-capture window began: initial instrumentation, recorder-to-journal or correlation rebinding, and low-footprint resume establish new windows. Earlier or overlapping requests stay unassessed, even after capture resumes; changing capability invalidates cached reports and details without reclassifying old gaps as bypasses. Capture proof is checked on both sides of reading retained entries; a transition withholds absence inference for that read rather than applying stale proof to newer requests.
    • An explicitly selected manager must be BootUI's own recording decorator. The default must be unambiguous. Custom cache resolvers (including those with no static cache names), CachingConfigurer or ancestor-context paths, unwrapped or ambiguous managers, absent proxy caching or AspectJ, asynchronous/reactive retrieval, conditional and sync = true cacheable methods do not establish cache absence. Reactive return types follow Spring's adapter metadata without conversion or subscription. BootUI reads only existing singleton and declaration metadata, including safe class-name and generic-factory product declarations; unresolved declarations stay unknown. It never initializes a lazy recorder or invokes an application resolver/configurer or factory callback to prove capture. This does not add asynchronous cache capture or change retrieval behavior.
    • If observing a cache access fails, such as a key representation that throws, that manager's absence proof is invalidated without disrupting the cache operation. The check gives a generic reason, never a raw key or exception message. A later installation, rebind, or resume can start a new window; the gap stays unassessed.
    • These limits qualify only cache absence. Retained cache hits/misses, route comparisons, and prior dropped-event qualifications remain readable while capture is disabled or paused. Transaction boundaries remain independently eligible; async-only work does not inflate the eligible count. Quarkus is not applicable because ArC preserves interceptors on self-invocation.
  • repeated-selects: the same SELECT run five or more times in a request after another statement, from three requests. Exact JDBC row counts are retained when available, but SQL rows do not establish how many entities or response items a query produced. With the BootUI agent's code-paths sensor, it names the application method that issued the repeats, such as a service method looping over a repository. For a repository or DAO class of the application's own, which the sensor instruments, it names the first method above it that is not one, through the repository method (Code Paths).
  • connections-per-request: requests that held two or more logical connections of one data source at the same time, with the current pool maximum when known. Check whether the checkouts were nested or parallel independent work before reasoning about pool pressure. Captured checkout thread names and execution ids do not establish serial ownership or nesting, so no numerical hold-and-wait concurrency estimate is inferred. Overlap alone proves neither waiting nor deadlock.
  • safe-method-dml: GET or HEAD requests with executed writes, or on Quarkus with unverified Hibernate write preparations. These are separate findings, worded as questions rather than proof that a prepared statement ran.
  • split-transaction-writes: executed writes across captured named data sources or recorded transaction boundaries, presented as an atomicity question. Evidence groups keep each data-source name and its recorded boundary separate; savepoints remain with their known physical boundary. Writes outside recorded transactions are autocommit candidates, not proven autocommits. A transaction window, including a recorded rollback, does not prove which resources it owns: two named sources remain visible even inside one window or when transaction timing is unavailable. Unknown source names do not invent another resource. Monotonic time and thread names establish temporal placement only, not a writing transaction method, physical-resource or manager ownership, independent commits, or the presence or absence of JTA/XA coordination. Quarkus remains not applicable because it records no transactions.
  • unbatched-write-loop: requests that ran one write shape (INSERT, UPDATE, DELETE, MERGE, or REPLACE, literals removed) ten times or more, each execution submitting one parameter set, so each paid its own round trip. A route is reported without reservation from two such requests; one is insufficient. Each row names the request, the shape, its executions, their total time, and the application call site. The journal records each execution's batch size: 1 for an ordinary one, the number of parameter sets for executeBatch or executeLargeBatch, and unknown for anything else, which is never counted as unbatched. An execution that submitted more than one parameter set (a JDBC batch of one counts like an ordinary execution), a failed one, a SELECT loop, and a preparation are not counted; the check's reason counts the executed writes whose batch size is unknown and the prepared writes it left out. When transactions are recorded and the statements can be placed in them, the executions must share one transaction, so writes that each committed alone, or that were split across transactions, are not one loop; the writes outside every recorded transaction, which each autocommitted, are counted together per request, and the row says so. Without transaction evidence, executions are counted per request and the row says why. On Quarkus, Hibernate records statements when they are prepared, not executed, so a Hibernate write loop is never counted there and the check reports no eligible work unless plain JDBC writes ran; Quarkus records no transactions, so its loops are counted per request. Whether Hibernate would batch these writes is what HIB-CONFIG-004, HIB-CONFIG-005, and HIB-ID-006 report.
  • transaction-across-remote-call: transactions still open when a timed REST client or AI call starts, with the connection they held. A REST call nested inside a measured AI call counts once. A method is reported once one of its calls took 20 ms or more, and its median and slowest call are named; a method whose calls were all faster is not reported, and the check's reason counts it.
  • lazy-sql-after-handler: SQL run while the response was written, outside every transaction (open session in view). When the statement's frames show a template engine rendering the view, such as Thymeleaf calling a Spring Formatter, it says the view ran the query, advises loading that data in the handler into the model, and names the application frame the view called as the call site. A request whose statements or transactions have no monotonic time is counted apart, as a limitation and in the check's reason.
  • event-loop-blocking: executed JDBC statements and, on Spring WebFlux, native RestClient or RestTemplate calls issued on a thread the adapter classified as an event loop. Measured zero duration still counts; SQL preparation, thread names, long durations, and WebClient completions do not prove blocking. The check counts requests or executions with supported calls and known issuing-thread kinds once; each finding's denominator is the work that captured that particular JDBC or client site, not every request on the route. SQL and REST client evidence are independent optional channels: a missing source or hidden panel qualifies the check without discarding the other channel's facts. With no traced SQL feeder or retained SQL facts, a SQL-only check remains UNAVAILABLE; a REST-capable empty run is INSUFFICIENT, with zero eligible work and the SQL capture gap stated. When an HTTP call has no application call site, its fallback site identity redacts matrix-parameter values independently of display policy, so changing those values or switching exposure modes does not split recurrence or change the site's id. Other HTTP client types and file I/O remain unassessed, and synchronous Spring-client proof is not claimed for Quarkus.
  • orm-auto-flush: requests in which Hibernate wrote pending changes before a query three times or more, or for at least a fifth of their ORM time. The threshold is per request, so one such request reports its route.
  • large-persistence-context: requests whose Hibernate session held 500 entities or more at a flush, in three requests of a route or more.
  • readonly-candidate-transaction: a transactional method, on Spring MVC and WebFlux, whose top-level read-write transactions in the retained window flushed Hibernate over entities and found none dirty, and ran no INSERT, UPDATE, DELETE, MERGE, call, or locking read; executions already read-only are ignored, and a nested execution or one in which Hibernate did nothing does not count toward the threshold but a write in it keeps the method out. It is reported with its method and its executions, from three, as a method that may be declared @Transactional(readOnly = true), so Spring puts the Hibernate session in manual flush mode and read-only default and Hibernate skips dirty checking. Hibernate's evidence belongs to a transaction by what its thread did between the transaction's begin and its completion, never by the lifetime of a session, which begins before and ends after it. One execution that wrote, or that could not be judged, keeps the whole method out: it rolled back, Hibernate never held an entity to dirty-check, a statement or transaction could not be placed in time, fewer statements were recorded than Hibernate ran, or it contains another physical transaction, or a savepoint that rolled back, was marked rollback-only, or failed. The check's reason counts the executions it could not judge. JTA and reactive transactions are not judged, and a write to something that is not a database, such as a message broker, is not seen. Quarkus records no transactions, so the check is not applicable there.
  • slow-flush: requests whose Hibernate flushes, full flushes and auto-flushes together, took 100 ms or more and at least a fifth of the request's ORM time, in three requests of a route or more; a route with fewer is not reported. Flush time is the time in Hibernate's flush callbacks, mostly dirty checking, minus the statements the journal recorded. It includes every auto-flush check before a query, whether or not it found anything to write, and any wait for a pooled connection or statement preparation inside a flush; ORM time adds the statements' time. Each row names the request, its flush time (full flushes and auto-flushes together, the figure the thresholds judge), the part of it that was auto-flushes, and the most entities any of its persistence contexts held at a flush, which may belong to another session than the slow flush. It reports the effect that large-persistence-context names a likely cause of: a slow flush with few entities points elsewhere, such as an entity listener or a wait for a connection, and a flush time that is mostly auto-flushes may also be reported by orm-auto-flush, which counts only auto-flushes that wrote, while slow-flush also counts the checks that found nothing to write. The flush timeline keeps only the first 16 flushes of a session; the totals still include all.
  • connection-reacquisition: requests in which one Hibernate session borrowed a JDBC connection two times or more, one after the other, in three requests of a route or more. The main connection is re-borrowed only where a session releases it between uses: Spring's JPA vendor adapter and stock Quarkus make a session hold it until it closes, so there it takes a non-default hibernate.connection.handling_mode (or JTA), while an auxiliary connection (see below) can still add acquisitions. It counts Hibernate's acquisition callbacks, so lazy loading or queries run outside a transaction, as a view rendered with open-in-view does, show up here where connections-per-request reports only connections held at the same time. When the request's SQL and transactions are recorded, complete, and not dropped, each row names up to three application call sites of the statements that ran after the first transaction of the session's thread ended, whichever Hibernate session or JDBC client issued them, leaving out a propagated task's statements; a request whose statements could not be placed shows "not placed". On Quarkus, which records no transactions, and whenever that evidence is missing, incomplete, or dropped, it keeps the count and says the call sites are omitted. JTA and DELAYED_ACQUISITION_AND_RELEASE_AFTER_STATEMENT connection handling legitimately re-acquire per statement, work Hibernate runs on a connection of its own, such as a table-based identifier generator, counts too, and the count is not the pool's borrow count or the connection's hold time. See lazy-sql-after-handler when the extra acquisitions happen while the response is written.
  • paged-without-order: an executed SELECT whose outermost query block limits its rows (LIMIT, FETCH FIRST ... ROWS ONLY, or TOP, including MySQL's LIMIT offset, count) without an ORDER BY, so the rows it returns are an arbitrary subset and pages can repeat or skip rows. An ORDER BY inside a subquery or a window does not count. It is reported per route and literal-free statement from two requests, as a question: the rows may be meant to be arbitrary. To protect precision it leaves out a limit of one row, a statement that projects a constant, count, or exists, a set operation, and a limit over a filter of equalities only, such as where a = ? and b = ? limit ?, which is far more likely a key lookup than a page, unless the statement also has an offset; so the first page of an equality-filtered query is not reported, unless it carries an offset, including one bound to a parameter, which is treated as possibly nonzero. Truncated statements and text the lexer cannot classify (a backslash in a string, a # that may be an operator, a LIMIT, TOP, or FETCH count that is not a plain number or bind) are never read as lacking an ORDER BY: the check's reason counts them, as it does set operations and, on Quarkus, Hibernate statements, which are recorded when prepared and so do not show that they ran. Dialects read are PostgreSQL, MySQL and MariaDB, H2, Oracle 12c and later, and SQL Server; Oracle ROWNUM wrappers are not.
Observation details: anonymous access
  • anonymous-data-reach: successful requests an authorization decision proved anonymous that wrote a table, per route and table, including every captured statement of a JDBC batch. A confidently identified INSERT INTO, UPDATE, DELETE FROM, or MERGE INTO target excludes SELECT, subquery, and FROM source tables. Ambiguous dialect forms such as multi-table writes retain lexical candidates, not proven writes; CTE-headed statements are not parsed. Quarkus Hibernate statements are captured on preparation, so their targets are named as unverified preparations, never proven writes; with Hibernate evidence hidden, they are omitted and timed JDBC writes remain. Anonymous reads and authenticated writes produce no finding; requests whose anonymity is unproven are outside the eligible count. Intended public writes such as sign-up or contact forms still produce a fact to verify, and each row says not to add authorization from it alone.
  • anonymous-success-on-restricted-route: 2xx answers to proven-anonymous requests on a route whose request-level decisions this run saw deny another anonymous caller or require an authority: "a successful anonymous response, not proof that the rule is wrong". Method decisions alone do not establish a request-route restriction: allowing a public article and denying a draft on the same URI template can be intended object-level policy. For a genuine request-level finding, evidence keeps the captured paths under the live exposure policy and labels method subjects and outcomes as context only, without quoting method rules. Matcher scope and ordering are conditional checks, not a diagnosis.
  • Both checks use only proven anonymity on every stack. With the required sources recorded and visible but no request proving anonymity, they report an INSUFFICIENT check with zero eligible requests, not invented anonymous requests or per-route findings. A missing required source makes the check NOT_APPLICABLE.
  • Anonymous-write evidence counts captured DML texts, not affected rows or prepared-batch executions. Plain JDBC statement batches retain at most five previews, each truncated at 256 characters; prepared batches retain one SQL text. A truncation may hide targets, so every finding states the capture limits and the check explicitly flags requests with possibly truncated SQL. Truncation-marked captures yield candidates only, including later previews recovered after a truncated literal. Unparsed hash syntax, nested or executable block comments, and DELETE … USING also prevent exact write claims. Proven targets and ambiguous lexical candidates stay in separate findings.

Observations and evidence limits

The browser keeps every retained observation available in compact groups, including short route timings, repeated SELECTs, AI usage, and memory observations. Groups start collapsed, with specific review candidates before broad timing and usage summaries. This suggested review order is not a severity score and does not use agent-default selection or evidence quality as a proxy for importance. Group counts count observations, not affected requests.

Search and the Topic selector narrow the same report without changing each other or opening details. The result count reports matching observations and groups, while the run total and tab count stay unchanged. Clear filters restores the complete set of groups and returns keyboard focus to Search. A selected observation stays open if it still matches, including across refreshes.

Opening a group selects its first matching observation and loads only that observation's evidence, with no second disclosure to open. Larger groups have an Observation selector, a position count, and Previous / Next controls. Single-observation groups show the subject in Check mode or the check title in Subject mode, without observation navigation controls. Only one group's detail is open at a time; closing it returns keyboard focus to the group heading. The opened group has its own outline and a visible gap from neighboring groups, including below its evidence limits. Closed groups stay compact, making the end of the inline detail clear without adding another control.

An observation describes recorded behavior, not a confirmed defect. Rows with incomplete capture say Evidence limit: Some source events were dropped; rows below their check's evidence minimum say Evidence limit: Not enough evidence. The inline detail gives its sentence, evidence, conditional checks, and specific limitations. These qualifications do not hide the row or form another counted category.

Related panels still link directly to their observations. Memory opens the Memory topic, and a request's Why this route is slow link opens that route's time breakdown. Existing links with ?all=1 continue to work; that parameter is no longer needed. The BootUI agent's own panels, such as Side Effects, still present their own findings.

Report projection and agent compatibility

The JSON report remains complete and its listed and unlistedReason fields are unchanged. They describe the engine's default agent selection, not browser visibility or evidence quality. MCP and CLI queries can still request a kind, route, or all; the browser does not use this metadata to hide or prioritize observations.

Showing every observation does not change the checks' evidence requirements or how they consolidate observations:

  • Five warm requests are needed to split a route-time-breakdown into phases; a route with fewer is reported as not enough evidence. A route whose requests reached no handler BootUI marks, such as a form login the security filters answered, says how much of its time authentication took whenever its evidence names authentication.
  • exception-hotspots collapses the groups seen only behind 4xx responses, usually intended, into one counted row, Behind 4xx responses, unless (nearly) every request to their route, at least three, recorded them: such a route may never succeed, so its group is its own row. Groups caught in scheduled runs or messages that completed are counted in Caught in completed runs or messages; Errors behind 2xx responses reports the 2xx ones.
  • repeated-selects does not report a statement that lazy-sql-after-handler reports on the same route, at least as sufficiently, when every affected request repeated it after the handler returned (five times or more there, fewer before) and the lazy row names the call site of each of its rows, since that row names its cause. The check's reason counts them. A handler's own N+1 stays reported even when the view repeats the same statement elsewhere. A statement run after the handler returned, while a view rendered, takes its render-time call site, such as the formatter a template called.
  • A framework-warnings-by-route WARN message without a specific check, and Spring MVC's Resolved [...] note when every request it was written in answered 4xx, remain excluded from default agent selection, but their retained observations are visible in the browser.

Jobs, listeners, and messages

Scheduled runs and consumed messages are projected like requests, named @Scheduled OrderJob.run or consume kafka:orders. So is each WebSocket message an application handler runs, named by its mapping, such as consume websocket:/app/chat/{room} for a STOMP @MessageMapping, a WebFlux handler's pattern, or a Quarkus WebSockets Next endpoint's path. Observations that read a unit of work's own SQL, transactions, calls, exceptions, and logs also cover jobs and listeners, counted in runs or messages. Those that read what only a request has (its status, method, phases, authorization, or measured resources) stay on HTTP requests.

When an observation did not run

Every observation reports whether it ran. With no eligible work, a check reports Not enough evidence, not that it ran. One whose journal source is not recorded, whose panel is disabled, or which does not apply to this stack says so with its reason, so an empty list never reads as healthy. Findings below their minimum are shown as insufficient, naming what is missing, and a source that dropped events marks its findings partial. The agent report also returns aggregate insufficient and partial counts for every observation matching its query, even when the displayed list is limited. The CLI can fail a CI step on either state with bootui insights list --fail-on insufficient. That gate checks observation rows, not check-level statuses, and implicitly requests every observation kind when --query is omitted; an explicit query remains scoped. An empty all-query result passes only when the report has request activity.

Limits: unrecordable sources, drops, and eviction
  • Failed transaction begins remain diagnostic events, not active transaction windows. They do not own SQL or connections, or suppress after-commit writes as if a transaction had started.
  • Eligibility follows the evidence's unit: heap-growth-after-gc examines collections, so it can run with zero requests; a stable heap names the collections examined without inventing a request count or a finding.
  • What the journal cannot record at all comes first among the report's limitations: R2DBC statements, which BootUI does not record (it records JDBC), and Kafka Streams processing when Kafka Streams is on the classpath, since the records a topology consumes and produces are neither executions nor messages here.
  • An observation that reads SQL is unavailable when this application's SQL cannot be recorded: BootUI records JDBC statements through a traced DataSource (and, on Quarkus, Hibernate ORM's statements), never R2DBC or a reactive SQL client, so an R2DBC application's SQL checks say so instead of finding nothing. An observation that only optionally reads SQL, such as route-time-breakdown, runs and names what it could not count.
  • Repeated SELECTs counts observed executions, including zero-duration JDBC executions, not Hibernate preparations or unknown SQL. An observed zero-statement connection can establish a zero only within its declared execution-only feeder scope; a current wrapper alone cannot qualify an earlier request with no evidence. Connections held together counts requests with observed logical connections, separately for each data source. Neither preparation-only requests nor unobserved connections pad their denominators. A current capture-status failure qualifies, but does not erase, retained findings.
  • Framework warnings does not treat an enabled Log Tail panel as proof of capture. Missing native capture, custom filters, unproven log-context routing, root-bypassing loggers (including ERROR-only loggers), and a paused Quarkus log handler qualify missing logs as unassessed. Each retained request or execution is qualified from its own start, even when its child was recorded first; unrelated startup and GC records cannot disqualify newer units, and pre-install units remain unassessed. Unowned captured errors keep their own qualifications. Retained errors and independent 2xx-failure evidence remain visible. Incomplete log capture is described as captured facts, not an application-wide request frequency. Reading coverage never installs capture, invokes log-context selectors or filters, or creates lazy application beans.
  • Quarkus inspects at most 4,096 logger entries and reports larger inventories as unassessed. Passive Insights reads leave Logback inventory completeness explicitly unassessed rather than call its eager full-inventory API. Existing explicit Caught inspection retains its full native inventory read, without claiming it is hard-bounded; the exact native neutral Micrometer metrics filter is supported without invoking it. Unknown or custom filters still withhold absence proof.
  • An observation that reads application events, such as transactional-listener-skipped or after-commit-writes, is unavailable on Spring when the application defines its own application event multicaster, as Spring Modulith's event publication registry does. BootUI then backs off from installing its own, records no application event, and says so in the report's limitations and in change impact and run comparison rather than reading the absence as healthy.
  • partial includes dropped completion events for the visible requests, scheduled runs, consumed messages, and WebSocket handlers that an observation examines, but not optional evidence hidden by a disabled panel. Messaging drops are counted per source, not per broker or message direction: when any broker is visible, they conservatively mark checks that examine consumed messages partial. Collection checks and changed-code-not-executed, which reads Code Inventory rather than the journal, do not read execution completion events and are not made partial by their drops.
  • A new drop refreshes the report, coverage, and observation details even before another event is dispatched. A drop can hide a finding or make one appear, such as a statement whose transaction or cache access was dropped, so a partial finding is never read as a floor.
  • A request or execution that started before an event the journal evicted or Clear recording removed may be missing some of its own events, so it is left out whole, with a limitation counting it, rather than judged on what was left of it. This includes a failed or slow request the journal kept in its reserved share after its routine events were evicted: its exception and response stay in Live Activity, but Runtime Insights no longer judges it.
  • When BootUI changed something during the window, the report names it among its limitations, and a finding whose evidence names the logger, cache, or key that a change targeted says so.
Try it with the sample application

The sample apps seed one case for each observation beside the counterexample it must not report, and e2e/scripts/insights-demo.mjs sends that traffic to a running sample, so the panel can be explored without tracing.

Open the Spring sample's welcome page (http://localhost:8080/) and use its Runtime Insights section: one button per finding, such as N+1 selects, Error behind a 200, or Proxy bypass, sends the requests that produce it and links to the finding. Every retained observation is visible in the panel without changing a display control. Generate all findings runs them all. Findings this application cannot produce are disabled with BootUI's reason, such as Work after the response without the BootUI agent. The sample's README, under Runtime Insights demo, lists what each finding needs.

Historical durable runs

GET /bootui/api/runtime-insights?namespace=…&application=…&run=… and the corresponding /insights/{id} endpoint can project a durable run from another start or instance. Cross-namespace selection is disabled unless bootui.activity.persistence.reader-archive-cross-namespace=true. The normal browser panel remains focused on the current run.

Historical projection is bounded to the retained run's event and byte limits (at most the default 50,000 events and 32 MiB per read), marks omitted evidence as partial, and carries safe run metadata rather than consulting current adapters. Missing safe _details, an absent end snapshot, incomplete SQL qualification, or an unavailable previous summary add explicit limitations. The current Java agent and live-only agent evidence cannot be consulted for a past run. An interrupted run can still be read from its latest checkpoint, but it is not presented as complete.

Changes

Run comparison with route and execution behavior and an explicitly adjacent restart

Compared with the previous run compares this run with the newest run whose summary is kept, including runs without HTTP requests, after a DevTools restart, a Quarkus live reload, or, with bootui.runtime-journal.baseline-file, a full JVM restart. An idle previous run reports insufficient evidence rather than being silently skipped. A picker chooses another kept run.

On a laptop, warmup and noise dominate latency while the work identical requests do is stable, so the comparison leads with behavior. In order, it shows:

  1. Code changes (with the BootUI agent): the methods Code Inventory found changed or added since the application's previous run in this JVM, not run yet first, each with whether it ran in this run and the routes whose requests' call trees ran it, plus the count of removed methods. Each offers See its impact.
  2. Outside the JVM: the hosts and ports, file patterns, process file names, and environment variable or system property names a route, a job, or startup uses now and did not before, or no longer uses.
  3. Behavior per route or execution (scheduled jobs and consumed messages): statements, REST calls, AI calls, cache misses, and tokens per request or execution, plus Hibernate flushes and entities, 4xx and 5xx share, allocation, new exceptions, and new routes.
  4. Runtime model edges, such as "GET /api/orders calls host pay.internal:8443, 15 times, and not in run 4".
  5. Restart cost: the time to ready and the beans whose initialization moved by 200 ms and 50 %.
  6. Latency, last and labelled noisy: the warm median, leaving out each route's first request, with 10 warm requests on each side and a move of 50 % and 20 ms.

Runs on another database, profile, or cache are not comparable, with the difference first. Too little traffic is needs more traffic, never "no change".

Code changes and Outside the JVM

Code changes are listed against the previous run only, and need the Code Inventory panel, else the section says why. The previous run keeps removed methods only as hashes. Without the agent the comparison is unchanged.

Outside the JVM reads the Side Effects sensors network, files, processes, and environment, for example "GET /orders now connects to api.example.com:443". Each run keeps at most 250 such keys per sensor in its summary, names and masked patterns only, never a value, an argument, or a file's contents.

  • A sensor is compared only when it recorded the whole of both runs. One that was off, not claimed in bootui.agent.sensors, switched, paused while the agent reinstalled its hooks for a runtime switch of files or environment, cleared by Clear recording, or lost records (a full ring, its quota of distinct targets) in either run reads not compared, with the reason, and lists nothing.
  • Startup's keys also need the sensor to have been recording when the application started, which a JVM's first run, whose hooks the agent installs while it starts, may not have. They come from the thread that finished starting only.
  • A key is new only when the previous run exercised its owner, and gone only when this run did (its route served a request, its job ran, or it did something else outside the JVM); otherwise its owner was not exercised in one of the runs.
  • A run that kept only part of a sensor's keys marks it partly compared and withholds the rows that part could make wrong.
  • Work on a thread no request or execution owns is not compared.
  • The keys travel in the run summary, so in the baseline file too. The run-summary link counts framework behavior and runtime-model changes separately from outside-JVM evidence. Recorded outside-JVM additions or removals remain visible in that summary, and partial, unavailable, truncated, or not-exercised evidence is qualified rather than presented as a complete zero.
Baseline file

The optional baseline file is best-effort: malformed collection counts, string lengths, references, or histogram buckets are rejected before allocation. A small corrupted file cannot request an unbounded collection or fail startup with an oversized-array allocation; it is ignored with a reason. Existing versioned summaries remain readable under their documented compatibility limits. If a reloadable run-history holder cannot keep history and no usable baseline is available, comparison reports Unavailable, with the baseline file as the remedy, rather than No previous run.

Comparison rules: statements, drops, scopes, and clearing
  • Statement groups are compared and displayed only as literal-free shapes, in the browser, MCP and CLI under every exposure mode. Summary format v10 persists these shapes too and sanitizes v8/v9 fingerprints on read. Shapes made indistinguishable by masking share their counts and histograms; quoted identifiers cannot always be distinguished from dialect-specific literals, so comparison does not claim their separate identities.
  • New statement fingerprints are listed from their first occurrence; gone fingerprints need 3 current samples, and capped fingerprint maps cannot prove that a statement disappeared.
  • Source-specific counters and edges are compared only when both runs recorded their sources and their owning panels remain enabled and available.
  • Admission drops are distinct from evidence eviction: an evicted event still reached the incremental aggregates, but an event refused by the journal did not. A source that dropped events withholds its affected counters and absence claims, without hiding reliable HTTP, REST-client, cache, or unrelated execution evidence. Such a comparison is Partly compared (PARTIAL), with its limits, never an empty successful "no change." Genuine older summaries without completeness metadata remain readable, but unknown completeness cannot supply verified zero counts.
  • Startup events must reach the aggregates too. Spring MVC and WebFlux bind the aggregate listener before exposing the journal to recorders or starting its GC/resource producers; Quarkus already binds before publishing its journal. This prevents a registration gap, not genuine capture loss: events dispatched before a listener was bound remain missed, even after more traffic or listener rebinding. Older persisted runs with that gap cannot prove SQL reductions or statement absence.
  • SQL rates, statement novelty and absence, and table-edge comparisons also require matching, qualified traced-JDBC capture scopes in both runs. Preparation-only or unknown captures, confirmed executions outside the declared scope, or legacy summaries missing SQL execution qualification yield PARTIAL instead of inferred zero or no change. Confirmed executions and unaffected comparisons remain available. A qualified scope describes only its traced JDBC feeders, never complete database coverage of the application.
  • After Clear recording, only complete requests and executions that started after the clear supply per-unit statistics. A crossing completion, or a message whose start is unknown, cannot turn cleared SQL into a reduction; fresh requests on the same route and fresh executions of the same job remain comparable. The remaining window cannot prove whole-run absence. Summary format v14 persists source-drop counts, explicit completeness presence, and clear boundaries, including when aggregate entries are trimmed.
  • Disabled panels' facts, fingerprints, exception classes, execution names, and edges are omitted, with an explicit "not compared because <panel> is disabled" limitation. Messaging follows each broker's panel independently. Disabling HTTP Exchanges also hides the request totals in all run references: the JSON retains requests: 0 for compatibility, but the UI labels them request count hidden, never zero traffic. Configuration comparability facts and restart/bean timings are not journal-source evidence and remain available. If every observed root is hidden, comparison is Unavailable, not a suggestion to send more traffic.

Change impact

Change impact answers "what does my change reach?" for a route, a bean, a class, a repository, a table, a cache, or an outbound host, named in its field and checked only when you ask. As you type, the field suggests the matching routes, beans, repositories, tables, caches, hosts, and events of the run's model, each labelled with its kind. Picking one checks exactly that node. The tab opens on its search field, offering the methods changed since the previous run as the first things to check. ?impact=<symbol> opens the panel on a symbol.

The name resolves to exactly one node of the run's model, or the candidates are listed when it names several. The result has eight rows, each with totals:

  • the routes that reach that code through the bean graph and ran in this run, with their requests, anonymous and failed requests, the tables and caches they read and wrote, and requests to open;
  • Reaches it, but didn't run: the mapped routes that reach it and did not run, each with a reminder to exercise it and a link to the app-wide Not exercised in this run list in Coverage & limits;
  • the routes outside its reach that use a table, cache, or host the routes through it touched.

The structural reach is a count, kept apart from what ran, since a route's traffic does not prove that a request went through the changed code. Spring MVC and WebFlux read the bean graph and Quarkus its ArC injection edges; when the beans cannot be read, the impact says so rather than listing nothing.

What can be named, and how a method is resolved
  • A route is its own impact, listed with the routes that share what it touched.
  • A handler method, such as ProductController#list or com.example.ProductController#list, narrows the impact to the routes mapped to it, so the class's other routes appear only when they share what it touched. A method no route is mapped to is reported not found rather than widened to its class, and the class name alone still checks the whole bean.
  • With the BootUI agent's code-paths sensor, any application method can be named, as OrderService#total, OrderService.total(long), or OrderService#total(J)J for one overload (without parameters, every overload counts as one method). Its observed routes become those whose requests' own call trees ran it, read from each route's tree at any depth, the first request, executor work the agent followed, and fragments that arrived after their tree settled included, or the route of the first request Code Inventory saw run it. They are never composed from the calls observed across requests, and each lists how many of its requests ran the method, marked partial when its trees folded methods away or a late fragment arrived after its tree was forgotten.
  • The routes that reach its bean are then split: those with no traffic are listed as Reaches it, but didn't run it. Those that ran without their call trees showing it are listed apart, ran without showing it, with why that proves nothing (a private, static, or lambda method the sensor does not time, a method it excluded, trees still settling, requests without a tree, an assembly-only handler). A route that ran joins them only when Code Inventory saw the method never run in this run.

JFR profile

Runtime Insights, JFR profile tab: CPU samples and allocation per route, with the hottest sampled frame

Profile resources measures what scope readings cannot, such as CPU and carrier-thread pinning on virtual threads. Only when you click it, it records a JDK Flight Recorder session of bootui.resources.jfr.max-duration (30 seconds by default; Stop now ends it early), then joins each CPU and allocation sample and each jdk.VirtualThreadPinned event (enabled at a 1 ms threshold when the runtime supports it) to the request segment that ran on that thread in JFR's own clock, virtual threads included.

The results list, per route, the requests sampled, the CPU samples with a bar for each route's share, JFR's estimate of the bytes allocated, virtual-thread pinning event counts, total pinned duration, and hot pinning frames when supported, and the hottest CPU application frames. CPU is counted in samples, never as a measured time.

A runtime without JFR, or a journal that does not record the resources source, reports why no session can run. bootui.panels.runtime-insights.read-only or bootui.read-only blocks starting one.

JFR internals and limits
  • JFR's CPU-time sampler is used on Linux with JDK 25 and later, and its execution sampler elsewhere; the results say which ran.
  • On JDK 21 and later, jdk.VirtualThreadPinned is enabled with a 1 ms threshold and stack traces, and joined to overlapping bootui.ExecutionSegment intervals on the pinned virtual thread's Java thread id (outsidePinnedEvents counts pins outside any request segment). On JDK 24 and later (JEP 491), a limitation notes that synchronized blocks no longer pin virtual threads and only native frames and class initializers emit jdk.VirtualThreadPinned.
  • Starting JFR takes about a third of a second and some 40 MB, and writes a temporary recording that is deleted once read.
  • While the HTTP Exchanges panel is disabled, the results keep their totals but list no route, and say so; re-enabling the panel shows the routes again.
  • The regular CPU ledger accounts for a closing request segment once, even when its sampler reads concurrently with closure. Request completion also releases the measured segments on Quarkus connection cancellation; a response that closed without ending is retained with status 0, not a fabricated successful response.

Coverage & limits

Runtime Insights, Coverage & limits tab: how the run's events were linked, the checks that did not fully run, and the routes no request reached

This tab shows how the run's events were linked to requests, the checks that did not fully run, and Not exercised in this run: the application's declared routes that no request of this run reached, so nothing in the panel is mistaken for a verdict on a route that never ran.

Prev
Live Activity
Next
Advisors

© 2026 Julien Dubois