Spring Boot 2X执行器HTTP跟踪不追踪主体



我已经使用以下给定属性启用了包括httptrace的管理端点。

但使用http://localhost:8081/certuator/httptrace

请求身体参数不响应

{
"traces": [
    {
        "timestamp": "2019-02-15T01:39:50.595Z",
        "principal": null,
        "session": null,
        "request": {
            "method": "POST",
            "uri": "http://localhost:8080/hi",
            "headers": {
                "content-length": [
                    "15"
                ],
                "postman-token": [
                    "82b0e3eb-6359-4d06-980c-669e553ef5b8"
                ],
                "host": [
                    "localhost:8080"
                ],
                "connection": [
                    "keep-alive"
                ],
                "content-type": [
                    "application/json"
                ],
                "cache-control": [
                    "no-cache"
                ],
                "accept-encoding": [
                    "gzip, deflate"
                ],
                "accept": [
                    "*/*"
                ],
                "user-agent": [
                    "PostmanRuntime/7.6.0"
                ]
            },
            "remoteAddress": null
        },
        "response": {
            "status": 200,
            "headers": {}
        },
        "timeTaken": 1
    }
]

}

不幸的是,在当前时刻,执行器不支持它:

github问题

您可以按照此stackoverflow线程中所述实现自己的端点

相关内容

  • 没有找到相关文章

最新更新