|
1 | 1 | Postgres Exporter |
2 | 2 | ================= |
3 | 3 |
|
4 | | -An Ansible role to install, configure and update [Postgres Exporter](https://github.com/prometheus-community/postgres_exporter). |
| 4 | +An Ansible role to install, configure and update the [Postgres Exporter](https://github.com/prometheus-community/postgres_exporter). |
5 | 5 |
|
6 | 6 | Requirements |
7 | 7 | ------------ |
@@ -31,17 +31,22 @@ Requirements |
31 | 31 | Role Variables |
32 | 32 | -------------- |
33 | 33 |
|
34 | | -- `postgres_exporter_version` The specific version of Postgres Exporter to download (default: `0.15.0`). |
| 34 | +Variables used to install the Postgres Exporter: |
| 35 | + |
| 36 | +- `postgres_exporter_version` The version of Postgres Exporter to download (default: `0.15.0`). |
35 | 37 | - `postgres_exporter_archive_name` Postgres Exporter archive name. |
36 | 38 |
|
37 | 39 | Defaults: |
38 | 40 | - `postgres_exporter-0.15.0.linux-amd64` (Linux) |
39 | 41 | - `postgres_exporter-0.15.0.windows-amd64` (Windows) |
40 | 42 |
|
41 | 43 | - `postgres_exporter_archive_extension` Postgres Exporter archive extension (default: `tar.gz`) |
42 | | -- `postgres_exporter_download_url` URL to download an archive with Postgres Exporter (default: `https://github.com/prometheus-community/postgres_exporter/releases/download/v0.15.0`). |
| 44 | +- `postgres_exporter_download_url` URL to download the Postgres Exporter archive (default: `https://github.com/prometheus-community/postgres_exporter/releases/download/v0.15.0`). |
| 45 | + |
| 46 | +Variables used to configure the Postgres Exporter: |
| 47 | + |
43 | 48 | - `postgres_exporter_user` and `postgres_exporter_group` Unix user and group that will be created (default: `postgres`). |
44 | | -- `postgres_exporter_install_path` Path to Postgres Exporter installation directory (default: `/usr/local/bin`). |
| 49 | +- `postgres_exporter_install_path` The Postgres Exporter installation directory (default: `/usr/local/bin`). |
45 | 50 | - `postgres_exporter_data_source_name` Accepts URI form and key=value form arguments. The URI may contain the username and password to connect with. (default: `user=postgres host=/var/run/postgresql/ sslmode=disable`). |
46 | 51 | - `postgres_exporter_web_listen_address` Address to listen on for web interface and telemetry (default: `0.0.0.0`). |
47 | 52 | - `postgres_exporter_web_listen_port` The port to bind to (default: `9187`). |
|
75 | 80 | Example Playbook |
76 | 81 | ---------------- |
77 | 82 |
|
78 | | -Install and configure `Postgres Exporter`: |
| 83 | +Install and configure the Postgres Exporter: |
79 | 84 |
|
80 | 85 | ```yaml |
81 | 86 | --- |
|
0 commit comments