You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When query parameters are enabled, I am seeing the following error on a valid db query when trying to instrument with nrpgx5 integration:
{"level":"error","msg":"unable to end datastore segment","context":{"collection":"mytable","operation":"select","product":"Postgres","reason":"attribute '$0' value of type []string is invalid"}}
Description
When query parameters are enabled, I am seeing the following error on a valid db query when trying to instrument with nrpgx5 integration:
Steps to Reproduce
The postgres connection is implemented like this:
and the query is being made like this:
ids looks like this for example:
[]string{"1", "2", "3", "4" }
Expected Behavior
The query is able to be instrumented with query parameters enabled
NR Diag results
N/A
Your Environment
Go version 1.23
Using the latest pgxv5, agent and integration versions:
Reproduction case
Additional context
Workaround: Disable query parameters.
I found that if I disable query parameters, the error goes away:
The text was updated successfully, but these errors were encountered: