Reading Operation Data: Persistent
Learn how to add HTTP calls with /actuator/httptrace by adding a wrapper class.
We'll cover the following
Adding wrapper class
Spring Boot Actuator’s HttpTraceRepository
stores’ instances of the HttpTrace
class. Unfortunately, that record doesn’t have a proper key. This means we can’t save it directly into MongoDB. To handle this, and considering the fact that HttpTrace
is final and not extendable, we must define a wrapper.
Get hands-on with 1400+ tech skills courses.