observability/roles/postgres_exporter
2024-11-08 17:07:40 +01:00
..
defaults update(postgres_exporter): bump version to 0.15.0 2024-11-08 17:07:40 +01:00
tasks feat(postgres_exporter): add ansible role for deployment using docker 2022-03-20 12:11:35 +01:00
README.md feat(postgres_exporter): add ansible role for deployment using docker 2022-03-20 12:11:35 +01:00

finallycoffee.observability.postgres_exporter ansible role

Overview

Ansible role to deploy postgres_exporter, running in a docker container.

Configuration

Set postgres_exporter_db_[host|post|user|pass] according to your databases configuration, and scrape the container on it's port 9187 (e.g.: http://{container_ip}:9187/metrics).

For more configuration options using environment variables, see the official README and set the configuration in postgres_exporter_container_env to override the defaults.