pgexporter_ext
is an extension for PostgreSQL to provide additional
Prometheus metrics for pgexporter.
- OS information
- CPU information
- Memory information
- Network information
- Load average metrics
- Disk space metrics
See Getting Started on how to get started with pgexporter_ext
.
- PostgreSQL 13+
- Fedora 32+
- RHEL 8.x with AppStream
pgexporter
requires
- gcc 8+ (C17)
- cmake
- make
- PostgreSQL
dnf install git gcc cmake make postgresql-devel
NOTE: It may happen that build fails due to "postgres.h"
not being found. In that case, uninstall the package postgresql-devel
and instead install postgresql-server-devel
:
dnf remove postgresql-devel
dnf install postgresql-server-devel
Alternative clang 8+ can be used.
The following commands will install pgexporter
in the /usr/local
hierarchy.
git clone https://github.com/pgexporter/pgexporter_ext.git
cd pgexporter_ext
mkdir build
cd build
cmake ..
make
sudo make install
The following commands will create a DEBUG
version of pgexporter_ext
.
git clone https://github.com/pgexporter/pgexporter_ext.git
cd pgexporter_ext
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
Contributions to pgexporter_ext
are managed on GitHub.com
Contributions are most welcome !
Please, consult our Code of Conduct policies for interacting in our community.
Consider giving the project a star on GitHub if you find it useful.