Commit graph

3 commits

Author SHA1 Message Date
158c725ab4
feat: Add Postgres Connection Exporter service
Introduced a new systemd service for the Postgres Connection Exporter, enhancing monitoring capabilities by tracking database connections. This service configuration ensures it starts after the network is available, runs under a dedicated user and group for security, and is set to automatically restart upon failure, ensuring high availability. The setup aims to streamline deployment and maintenance processes for systems requiring constant database connection monitoring.

The service is designed to be easily integrated into multi-user environments, adhering to best practices for system services.
2024-05-17 15:54:25 +02:00
776c98fb47
feat: Enhance config flexibility and setup
Introduced command-line flags for improved configuration management, including the creation of a default config file, and specified listening address override capabilities. This update facilitates easier and more flexible setup and deployment processes for the PostgreSQL connection exporter. The `.gitignore` and documentation were updated to align with these changes, reflecting the new command-line options and the removal of the `config.dist.yaml` in favor of creating a default configuration through the tool itself.

- Command-line flags `--create-config`, `--config`, `--host`, and `--port` added to streamline customization.
- Configuration now supports naming database hosts for clearer metrics identification.
- Documentation revised to guide through the new configuration and setup process.
- Changelog introduced to track project evolution.

These enhancements aim to make the exporter more adaptable to various deployment environments and to simplify the initial setup for users.
2024-05-16 06:33:21 +02:00
a8eb80aad2
feat: Initial implementation of a PostgreSQL connection exporter 2024-05-15 22:41:26 +02:00