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

postgres_exporter: extra_options vs options #260

Open
mika opened this issue Sep 13, 2018 · 2 comments
Open

postgres_exporter: extra_options vs options #260

mika opened this issue Sep 13, 2018 · 2 comments

Comments

@mika
Copy link

mika commented Sep 13, 2018

Inside postgres_exporter.pp we have:

#  [*extra_options*]
#  Extra options added to the startup command
#  For a full list of the exporter's supported extra options
#  please refer to https://github.com/wrouesnel/postgres_exporter

... while the option is actually called $options and only supported as such.

Either the docs should be adjusted or support for extra_options should be added (to keep the behavior with other exporters in sync?). (I'm not sure how to properly do the later one without breaking existing setups, that's why I don't provide a PR yet.)

@zeha
Copy link

zeha commented May 29, 2019

I just ran into this as well. The other exporters seem to call it extra_options, so should this be renamed in postgres_exporter too?

@TheMeier
Copy link
Collaborator

TheMeier commented May 5, 2024

The docs have been changed. Actually options is not documented now :(
About changing it to extra_options, I am not sure if this inconsistency warrants a breaking change.

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

3 participants