Dustin C. Hatch 4f202c55e4 r/postgres-exporter: Deploy postgres-exporter
The [postgres-exporter][0] exposes PostgreSQL server statistics to
Prometheus.  It connects to a specified PostgreSQL server (in this
case, a server on the local machine via UNIX socket) and collects data
from the `pg_stat_activity`, et al. views.  It needs the `pg_monitor`
role in order to be allowed to read the relevant metrics.

Since we're setting up the exporter to connect via UNIX socket, it needs
a dedicated OS user to match the PostgreSQL user in order to
authenticate via the _peer_ method.

[0]: https://github.com/prometheus-community/postgres_exporter/
2024-07-02 20:44:29 -05:00
2024-07-02 20:44:29 -05:00
2024-02-22 10:23:19 -06:00
2024-07-02 20:44:29 -05:00
2024-07-02 20:44:29 -05:00
2024-01-19 20:52:48 -06:00
2020-02-22 16:28:06 -06:00
2018-04-08 12:20:03 -05:00
2018-08-19 14:17:48 -05:00
2018-03-27 20:44:43 -05:00
2018-07-01 15:19:20 -05:00
2024-06-12 18:56:41 -05:00
2018-10-07 21:42:18 -05:00
2024-01-09 18:18:34 -06:00
2023-11-13 17:45:21 -06:00
2022-08-10 21:55:54 -05:00
2020-08-29 14:22:17 -05:00
2018-04-08 10:11:43 -05:00
2024-07-02 20:44:29 -05:00
2024-01-27 20:09:34 -06:00
2024-01-19 20:50:03 -06:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2023-05-09 21:37:46 -05:00
2024-07-02 20:44:29 -05:00
2024-01-19 20:50:03 -06:00
2018-03-27 20:44:43 -05:00
2018-08-13 20:25:22 -05:00
2019-09-19 19:51:45 -05:00
2022-08-11 21:40:19 -05:00
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
7.7 MiB
Languages
Jinja 86.2%
Python 6.6%
Shell 4.6%
Groovy 2.6%