Skip to content

Prometheus接入后报错:“model=prometheus error=[0x219] SQL statement too long” #250

@tjlqq

Description

@tjlqq

安装好数据库后,Prometheus远端配置完成,Prometheus服务报错为500:
“Dec 13 14:32:57 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:32:57.686Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Failed to send batch, retrying" err="server returned HTTP status 500 Internal Server Error: "
Dec 13 14:33:04 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:04.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449174
Dec 13 14:33:14 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:14.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449184
Dec 13 14:33:24 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:24.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449194
Dec 13 14:33:34 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:34.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449204
Dec 13 14:33:44 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:44.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449214
Dec 13 14:33:54 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:54.232Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Skipping resharding, last successful send was beyond threshold" lastSendTimestamp=1702448079 minSendTimestamp=1702449224
Dec 13 14:33:57 kh-10-90-81-74 prometheus[85861]: ts=2023-12-13T06:33:57.891Z caller=dedupe.go:112 component=remote level=warn remote_name=8a0274 url=http://10.90.85.18:6041/prometheus/v1/remote_write/prometheus_data msg="Failed to send batch, retrying" err="server returned HTTP status 500 Internal Server Error: "

tail -10 taosadapter_2023_12_13_00_00.log 报错为:
model=prometheus error=[0x219] SQL statement too long

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions