postgres_exporter not using external PostgreSQL parameters

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

When having an external PostgreSQL server and enabling postgres_exporter. The username and password information are not passed on to the postgres_exporter configuration.

To make an external PostgreSQL server work you have to configure DATA_SOURCE_NAME with the PostgreSQL username and password.

It's also not possible to provide a customer queries.yaml file that can be used to collect the PostgreSQL server information.

Related Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/123307

Edited Jun 30, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading