Rds postgres error logs from monitor user #765
-
I created a user "monitor" and granted read-only access to "test" databases; Everything works, but RDS has a lot of errors in the logs. Monitor user trying to access the "rdsadmin" database Can I exclude system database? I haven't found any parameters in values. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @hulakv, since this behaviour is controlled by the query executed (and so the error is returned from the query, not from the post-processing by sql_exporter), I'd say the solution is to update your query to something like this to exclude it on the query level (the expectation is that you have access to the default
Try it out and let me know if it works? |
Beta Was this translation helpful? Give feedback.
-
It's not an issue of sql_exporter, so I'm moving it into Discussions (Q&A). |
Beta Was this translation helpful? Give feedback.
Hey @hulakv, since this behaviour is controlled by the query executed (and so the error is returned from the query, not from the post-processing by sql_exporter), I'd say the solution is to update your query to something like this to exclude it on the query level (the expectation is that you have access to the default
postgres
database):Try it out and let me know if it works?