apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.53k stars 961 forks source link

[collector] fix the wrong condition for checking the response #2067

Closed ileonli closed 3 months ago

ileonli commented 4 months ago

What's changed?

We should log the information only when the resp does not include text.

It appears that the condition used to check the response is incorrect.

Checklist