Skip to content

postgres_exporter: set auto-discover-databases=true #3587

Open
@mzwettler2

Description

@mzwettler2

I found that the default postgres_exporter configuration only scrapes the "postgres" database (auto-discover-databases=false).

Setting auto-discover-databases=true would scrape metrics for all databases per postgres_exporter documentation.

I could not find a possiblity to set this option (auto-discover-databases=true) or environment parameter (PG_EXPORTER_AUTO_DISCOVER_DATABASES=true) within PostgresCluster.spec.monitoring.pgmonitor.exporter.

Any hint?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions