Duansg commented on issue #3813: URL: https://github.com/apache/hertzbeat/issues/3813#issuecomment-3393123859
> 我用平台采集 springboot3 的 /actuator/prometheus,该地址通过promethus采集 或浏览器打开均正常,但是使用hertzbeat采集时却报错,分析了一下原因,好像是hertzbeat访问/actuator/prometheus时,使用的GET请求带了个text/plain的内容(具体内容为:^_^payload^_^,请求头中存在content-type=text/plain和content-length=13),我的理解是:这个请求不应该带这个内容,这样就不会报错了。 > […](#) @HeXingNan Okay, I understand. You're absolutely right. Thank you for raising this question. You can temporarily try modifying the Prometheus template by setting the `payload` field to empty. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
