Skip to content

Fail to start up the postgres_exporter by wal-segsize=64 #173

@SE-Bin

Description

@SE-Bin

Hi,I found that if I have change the wal-segsize in 32MB or 64MB during compile source code, the postgres_exporter will start up fail by Unknown unit for runtime variable:"32MB".
I found the reason that the unit does not supported by '32MB' or '64MB' from the query
SELECT name, setting, COALESCE(unit, ''), short_desc, vartype,* FROM pg_settings WHERE vartype IN ('bool', 'integer', 'real').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions