taosdata / taoskeeper

MIT License
6 stars 6 forks source link

从3.1.0.3升级到3.3.2.0后,taoskeeper拿不到数据 #133

Closed jandison closed 2 months ago

jandison commented 2 months ago

集群从3.1.0.3升级到3.3.2.0后,原利用prometheus集成的监控拿不到数据。查看taoskeeper日志存在报错,报错信息如下 08/13 09:11:52.882681 00046670 error "## process records error" model=gen_metric error=unexpected status code 404:body:404 page not found 08/13 09:11:55.016978 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:00.006600 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:00.021595 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:05.010795 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:10.015628 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:15.005067 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:15.020220 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:20.009904 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:22.953670 00046670 error "## process records error" model=gen_metric error=unexpected status code 404:body:404 page not found 08/13 09:12:25.014482 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:30.006489 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:30.018087 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:35.011234 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:40.015755 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:45.007257 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:45.019020 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter 08/13 09:12:50.011277 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter

删掉log库后,再重启taoskeeper服务,systemctl status taoskeeper 信息如下 Aug 13 09:28:23 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:23 | 400 | 559.553µs | 172.19.153.137 | POST "/general-metric" Aug 13 09:28:25 APP-DB-09 taoskeeper[46670]: 08/13 09:28:25.014214 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter Aug 13 09:28:25 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:25 | 500 | 3.298806ms | 127.0.0.1 | POST "/adapter_report" Aug 13 09:28:30 APP-DB-09 taoskeeper[46670]: 08/13 09:28:30.007554 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter Aug 13 09:28:30 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:30 | 500 | 4.486444ms | 127.0.0.1 | POST "/adapter_report" Aug 13 09:28:30 APP-DB-09 taoskeeper[46670]: 08/13 09:28:30.018063 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter Aug 13 09:28:30 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:30 | 500 | 2.822472ms | 127.0.0.1 | POST "/adapter_report" Aug 13 09:28:33 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:33 | 200 | 11.970769ms | 172.20.177.191 | GET "/metrics" Aug 13 09:28:35 APP-DB-09 taoskeeper[46670]: 08/13 09:28:35.011741 00046670 error "## adapter report errorerror[0x2653] Value too long for column/tag: endpoint" model=adapter Aug 13 09:28:35 APP-DB-09 taoskeeper[46670]: [GIN] 2024/08/13 - 09:28:35 | 500 | 3.454594ms | 127.0.0.1 | POST "/adapter_report"

该如何解决?

jandison commented 2 months ago

已解决