Merge pull request #565 from alexmv/patch-1

Remove misplaced and duplicated phrase in README
This commit is contained in:
Joe Adams 2022-02-09 22:21:58 -05:00 committed by GitHub
commit 8d6d3041b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,8 +186,8 @@ The -extend.query-path command-line argument specifies a YAML file containing ad
Some examples are provided in [queries.yaml](queries.yaml). Some examples are provided in [queries.yaml](queries.yaml).
### Disabling default metrics ### Disabling default metrics
To work with non-officially-supported postgres versions you can try disabling (e.g. 8.2.15) To work with non-officially-supported postgres versions (e.g. 8.2.15),
or a variant of postgres (e.g. Greenplum) you can disable the default metrics with the `--disable-default-metrics` or variants of postgres (e.g. Greenplum), you can disable the default metrics with the `--disable-default-metrics`
flag. This removes all built-in metrics, and uses only metrics defined by queries in the `queries.yaml` file you supply flag. This removes all built-in metrics, and uses only metrics defined by queries in the `queries.yaml` file you supply
(so you must supply one, otherwise the exporter will return nothing but internal statuses and not your database). (so you must supply one, otherwise the exporter will return nothing but internal statuses and not your database).