How to include JSON response body in Spring Boot Actuator's Trace?

前端 未结 3 1886
星月不相逢
星月不相逢 2020-12-16 13:41

Spring Boot Actuator\'s Trace does a good job of capturing input/output HTTP params, headers, users, etc. I\'d like to expand it to also capture the body of the

3条回答
  •  庸人自扰
    2020-12-16 14:09

    From one of the spring maintainers:

    Tracing the request and response body has never been supported out of the box. Support for tracing parameters was dropped as, when the request is POSTed form data, it requires reading the entire request body.

    https://github.com/spring-projects/spring-boot/issues/12953

提交回复
热议问题