Why Is Spring Boot Admin’s HTTP Trace Missing? How to Restore It
This article explains why the HTTP trace feature disappears in Spring Boot Admin after version 2.2.x, details the investigation steps that reveal the default disabling of the InMemoryHttpTraceRepository, and recommends using third‑party tracing solutions such as Prometheus with Grafana for observable metrics.
Introduction
Recently a user reported that the
Spring boot adminhttptrace feature was missing. The author confirmed that the HTTP trace view, which shows recent service requests and a flame graph, is indeed gone.
Investigation
Checking the
Spring boot adminsource shows the
httptracefeature still exists. A search in the
Spring bootGitHub issues revealed that, by default,
management.trace.httpis disabled.
In Spring Boot 2.0.0 M4 the default
InMemoryHttpTraceRepositorybean was removed.
Note: When encountering version‑related changes, also search the
Spring-bootand
Spring cloudGitHub issues.
Conclusion
Starting with the official Spring Boot 2.2.x releases,
InMemoryHttpTraceRepositoryis no longer enabled by default, which causes the missing httptrace.
The recommended solution is to use a third‑party component for collecting HTTP traces, as suggested by the Spring team. For example, the author uses Prometheus to collect traces and displays them in Grafana.
References
https://github.com/spring-projects/spring-boot/issues/15039 – Default disables management.trace.http
https://github.com/spring-projects/spring-boot/issues/17047 – Encouraged to use third‑party tracing and observability solutions
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.