You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs say you can enable/disable different metrics using environment variable rather than flag which is helpful for running under systemd.
[no-]collector.stat_wal_receiver Enable the stat_wal_receiver collector (default: disabled).
Settings set by environment variables starting with PG_ will be overwritten by the corresponding CLI flag if given.
I tried a couple permutations of env var and was not able to get the wal queries to return:
The docs say you can enable/disable different metrics using environment variable rather than flag which is helpful for running under systemd.
I tried a couple permutations of env var and was not able to get the wal queries to return:
PG_STAT_WAL_RECEIVER=true
PG_COLLECTOR_STAT_WAL_RECEIVER=true
PG_COLLECTOR.STAT_WAL_RECEIVER=true
And neither expose the additional metrics I see when I instead pass this same flag in the cli.
The text was updated successfully, but these errors were encountered: