hertzbeat
hertzbeat copied to clipboard
[BUG] monitoring k8s error
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
按照文档生成了对应的k8s认证token,然后监控集群,发现一直处于宕机状态,观察后端log发现如下:
Expected Behavior
希望可以正常监控k8s,采集对应的指标
Steps To Reproduce
- 使用的是1.6.0镜像版本,之前是在1.4.4版本,按照文档进行了升级;
- 配置只做了数据源相关的更改,其他都是原始默认,k8s采集yaml也是使用的默认;
- 使用docker启动;
- 查看k8s监控结果,出现上述描述异常;
Environment
HertzBeat version(s):v1.6.0
Debug logs
2024-06-19 17:01:09.893 [339555282159616-kubernetes-nodes-9839] ERROR org.apache.hertzbeat.collector.dispatch.WorkerPool Line:48 - Thread Name 339555282159616-kubernetes-nodes-9839 : Character K is neither a decimal digit number, decimal point, nor "e" notation exponential mark.
java.lang.NumberFormatException: Character K is neither a decimal digit number, decimal point, nor "e" notation exponential mark.
at java.base/java.math.BigDecimal.
Anything else?
No response