Closed yangvipguang closed 3 years ago
I believe that error is a false positive. The postgres_exporter
server should not be able to start if it's unable to connect to the PostgreSQL database (see the lower line). This can happen while things the system is starting up: the exporter is trying to connect to a database that is not fully available yet. That is the typical error when it fails to connected. As it runs SELECT now();
to check the connection, you can see the successful connection at that point in the log line.
Anyway, this is not an issue. That said, I'll add some documentation in one of the troubleshooting sections.
Describe the bug A clear and concise description of what the bug is. I have created a pg cluster kong with metrics . but the exporter in kong pod print some error logs:
I have tried several times。 The results are same. I want to konw how to fix it .
Please tell us about your environment:
Additional context Add any other context about the problem here.