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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
Why Is Spring Boot Admin’s HTTP Trace Missing? How to Restore It

Introduction

Recently a user reported that the Spring boot admin httptrace 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 admin source shows the httptrace feature still exists. A search in the Spring boot GitHub issues revealed that, by default, management.trace.http is disabled.

In Spring Boot 2.0.0 M4 the default InMemoryHttpTraceRepository bean was removed.

Note: When encountering version‑related changes, also search the Spring-boot and Spring cloud GitHub issues.

Conclusion

Starting with the official Spring Boot 2.2.x releases, InMemoryHttpTraceRepository is 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

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

observabilityPrometheusSpring BootGrafanaspring-boot-adminHTTP Trace
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.