Skip to content

[BUG] <平台采集 springboot3 的问题> #3822

@HeXingNan

Description

@HeXingNan

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

我用平台采集 springboot3 的 /actuator/prometheus,该地址通过promethus采集 或浏览器打开均正常,但是使用hertzbeat采集时却报错,分析了一下原因,好像是hertzbeat访问/actuator/prometheus时,使用的GET请求带了个text/plain的内容(具体内容为:^^payload^^,请求头中存在content-type=text/plain和content-length=13),我的理解是:这个请求不应该带这个内容,这样就不会报错了。

Image

Expected Behavior

我的理解是:这个请求不应该带这个内容,这样就不会报错了。

Steps To Reproduce

No response

Environment

HertzBeat version(s):

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions