Skip to content

queries.yaml is empty #955

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

Closed
marekaf opened this issue Nov 15, 2023 · 4 comments
Closed

queries.yaml is empty #955

marekaf opened this issue Nov 15, 2023 · 4 comments

Comments

@marekaf
Copy link

marekaf commented Nov 15, 2023

README states:

The -extend.query-path command-line argument specifies a YAML file containing additional queries to run. 
Some examples are provided in [queries.yaml](https://github.com/prometheus-community/postgres_exporter/blob/master/queries.yaml).

but queries.yaml is empty.

@SuperQ
Copy link
Contributor

SuperQ commented Nov 15, 2023

The extended query configuration is optional, as well as deprecated. There is no need for it.

@SuperQ SuperQ closed this as completed Nov 15, 2023
@marekaf
Copy link
Author

marekaf commented Nov 15, 2023

That means the README can be improved to reflect that. It clearly mentions examples in a file that is empty.

@ARPABoy
Copy link

ARPABoy commented Nov 23, 2023

The new/non-deprecated way is poorly documented, rendering doc useless:
https://github.com/prometheus-community/postgres_exporter#adding-new-metrics

There's a Python snippet that is supposed to be used for copying table descriptions from PostgreSQL documentation, supposing that I can get that output, wheres is supposed to be copied? The main configuration file only supports auth_modules related configuration.

One basic and complete example would be great.

@sebastiansterk
Copy link

@SuperQ Some more detailed documentation about this would be really helpful.

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

4 participants