“httptrace” endpoint of Spring Boot Actuator doesn't exist anymore with Spring Boot 2.2.0

前端 未结 2 1687
暗喜
暗喜 2020-12-30 01:05

With Spring Boot 2.2.0 the \"httptrace\" Actuator endpoint doesn\'t exist anymore. How can I get this functionality back?

2条回答
  •  旧巷少年郎
    2020-12-30 01:34

    You need to enable httptrace by having following application properties. By default it is disabled

    management.trace.http.enabled: true
    management.endpoints.web.exposure.include: httptrace
    

    and Requires an HttpTraceRepository bean. You can use Your own Custom implementation or InMemoryHttpTraceRepository

提交回复
热议问题