edb databases not visible in dbname #646
-
hello, I am runing latest docker image file on my monitoring server. I can succesfully added postgresql database for monitoring. But I have a problem with edb database, edb databases are not visible in dbname in grafana dashboard. When I check the pgwatch logs, I see below error logs. {"args":[],"err":"can't scan into dest[0]: cannot convert \u0026{170002000000000000 -16 false finite true} to integer","fields.time":3002131,"level":"error","msg":"Query","pid":4041433,"sql":"select /* pgwatch_generated */ \n\tcurrent_setting('server_version_num')::int / 10000 as ver, \n\tversion(), \n\tpg_is_in_recovery(), \n\tcurrent_database()::TEXT,\n\tsystem_identifier\nFROM\n\tpg_control_system()","time":"2025-02-14T12:38:42Z"} Also I run below query in edb server. select /* pgwatch_generated */ It output different according to postgresql for ver coloumn. ver |version |pg_is_in_recovery|current_database|system_identifier | Do you have any suggestion or work around solution? I did not have this problem on pgwatch2, I could succesfully monitor edb postgres databases. Above query output for postgresql: ver|version |pg_is_in_recovery|current_database|system_identifier | Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Does edb have overloaded division operator for two ints? pgwatch=> select 170002 / 10000 as div;
div
-----
17
(1 row)
pgwatch=> \gdesc
Column | Type
--------+---------
div | integer
(1 row) |
Beta Was this translation helpful? Give feedback.
-
thank you so much. I'm looking forward to it. by the way grafana graph says this panel requires angular (deprecated). Can you look also that. |
Beta Was this translation helpful? Give feedback.
-
Fixed in #650 |
Beta Was this translation helpful? Give feedback.
Fixed in #650