Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forcing to use password #32

Open
aekiratli opened this issue Nov 16, 2020 · 1 comment
Open

Forcing to use password #32

aekiratli opened this issue Nov 16, 2020 · 1 comment

Comments

@aekiratli
Copy link

config:

exporter_host: 0.0.0.0
exporter_port: 9643
pgbouncers:
  - dsn: postgresql://localhost:6432/pgbouncer
    connect_timeout: 5
    include_databases:
    exclude_databases:
      - pgbouncer

error:

{"asctime": "2020-11-16 20:36:19", "levelname": "INFO", "message": "Exporter is starting up"}
{"asctime": "2020-11-16 20:36:19", "levelname": "INFO", "message": "Config file successfully read from /etc/pgbouncer-exporter.yaml"}
{"asctime": "2020-11-16 20:36:19", "levelname": "ERROR", "message": "Unable fetch metrics from postgresql:***@localhost:6432/pgbouncer", "exception": "fe_sendauth: no password supplied\n"}
{"asctime": "2020-11-16 20:36:19", "levelname": "INFO", "message": "Exporter listening on 0.0.0.0:9643"}

Eventhough dsn does not include password, it asks me for a password, it should bypass password when dsn does not include password

@z-yfgit
Copy link

z-yfgit commented Jan 25, 2021

At least have a user name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants