taosdata / TDengine

TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, Industrial IoT and DevOps.
https://tdengine.com
GNU Affero General Public License v3.0
23.01k stars 4.83k forks source link

TDengine 3.2.3.0 not reporting metrics to Taoskeeper, 404 on /general-metric #25625

Open hasland opened 2 months ago

hasland commented 2 months ago

Bug Description Using TDengine 3.2.3.0 and TaosKeeper 1.0.17 results in tdengine sending data to /general-metric endpoint and taoskeeper returns a 404.

Taoskeeper log with TDengine 3.2.3.0:

[GIN] 2024/05/03 - 17:32:31 | 404 |         3.1µs |     10.244.7.74 | POST     "/general-metric"
[GIN] 2024/05/03 - 17:32:32 | 404 |         1.7µs |     10.244.7.74 | POST     "/general-metric"
[GIN] 2024/05/03 - 17:32:32 | 404 |         1.2µs |     10.244.7.74 | POST     "/general-metric"
[GIN] 2024/05/03 - 17:32:33 | 404 |         1.1µs |     10.244.7.73 | POST     "/general-metric"
[GIN] 2024/05/03 - 17:32:37 | 404 |           1µs |     10.244.7.74 | POST     "/general-metric"

To Reproduce Install TDEngine 3.2.3.0 and Taoskeeper 1.0.17 and configure monitoring.

Expected Behavior Taoskeeper returns 200 status code on /report (as it was in 3.2.0.0 and 3.2.2.0).

Environment (please complete the following information):

On TDengine 3.2.0.0 and 3.2.2.0 with the same Taoskeeper (1.0.17) it's working as expected: Taoskeeper log with TDengine 3.2.0.0 (same with 3.2.2.0):

[GIN] 2024/05/03 - 17:35:13 | 200 |   53.462018ms |     10.244.0.52 | POST     "/report"
[GIN] 2024/05/03 - 17:35:15 | 200 |  1.109326389s |     10.244.0.53 | POST     "/report"
[GIN] 2024/05/03 - 17:35:39 | 200 |   62.352042ms |     10.244.0.51 | POST     "/report"
[GIN] 2024/05/03 - 17:35:43 | 200 |   52.433205ms |     10.244.0.52 | POST     "/report"
[GIN] 2024/05/03 - 17:35:45 | 200 |  679.043129ms |     10.244.0.53 | POST     "/report"
yu285 commented 1 month ago

TDengine 3.2.3.0 use same version taoskeeper as 3.2.2.0 ? both 1.0.17?

hasland commented 1 month ago

@yu285 Yes, both using the same taoskeeper version: 1.0.17.