DataDog / integrations-core

Core integrations of the Datadog Agent
BSD 3-Clause "New" or "Revised" License
922 stars 1.4k forks source link

Postgres error log full of "there is no parameter $1" errors #15833

Open afn opened 1 year ago

afn commented 1 year ago

Seeing tons of errors like this in our postgres logs:

[485-1]  sql_error_code = 42P02 time_ms = "2023-09-13 16:13:02.707 UTC" pid="909748" proc_start_time="2023-09-13 15:35:34 UTC" session_id="6501d6c6.de1b4" vtid="89/57447" tid="0" log_line="1890" database="XXX" connection_source="XXX.XXX.XXX.XXX(XXXXX)" user="XXX" application_name="datadog-agent" ERROR:  there is no parameter $1 at character 233

I'm not sure if this is the same issue as #13840, which seems related but was supposedly fixed.

We're running agent version 7.47.0:

Agent 7.47.0 - Commit: b8c31bf - Serialization version: v5.0.90 - Go version: go1.20.6

and using heroku-buildpack-datadog a0beb72.

spencerneste commented 1 year ago

I am seeing these same errors as well when enabling database monitoring.

Agent 7.47.0 - Commit: b8c31bf - Serialization version: v5.0.90 - Go version: go1.20.6

and heroku-buildpack-datadog

huguesbr commented 11 months ago

Same here

sileht commented 11 months ago

7.49.0 is out and contains some fix about it. At first glance it works now.