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

Enable use of wal-g config file #5

Open
strowi opened this issue Jan 12, 2022 · 0 comments
Open

Enable use of wal-g config file #5

strowi opened this issue Jan 12, 2022 · 0 comments

Comments

@strowi
Copy link

strowi commented Jan 12, 2022

Hi,

i am interested in exporting metrics from a wal-g instance that streams the arhive to S3 and uses a config-file similar to:

{
  "WALG_S3_PREFIX": "s3://",
  "AWS_ACCESS_KEY_ID": "",
  "AWS_SECRET_ACCESS_KEY": "",
  "AWS_ENDPOINT": "",
  "AWS_S3_FORCE_PATH_STYLE": "true",
  "WALG_S3_CA_CERT_FILE": "",
  "PGPASSWORD": "",
  "PGHOST": "",
  "PGPORT": 5432
}

And run as wal-g --config /x/y/z.json backup-list.

It would be very useful to be able to specify the same config to the exporters. Currently i am getting an error when the exporter runs wal-g backup-list...

Might be even worth using the wal-g config as input for the exporter..?

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

1 participant