integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

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

Open afn opened this issue 2 years ago • 3 comments

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.

afn avatar Sep 13 '23 16:09 afn

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

spencerneste avatar Sep 13 '23 18:09 spencerneste

Same here

huguesbr avatar Nov 03 '23 13:11 huguesbr

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

sileht avatar Nov 06 '23 09:11 sileht