Chapter 5. Installation
pgpro-otel-collector is installed from the Postgres Pro software repository. To install the repository, download and run the script
pgpro-repo-add.sh
.Once the Postgres Pro repositories are installed and configured, update the package manager metadata and install the pgpro-otel-collector package.
An example for Debian/Ubuntu Linux distributions:
# wget https://repo.postgrespro.ru/otelcol/otelcol/keys/pgpro-repo-add.sh # sh ./pgpro-repo-add.sh # apt update # apt install pgpro-otel-collector
After pgpro-otel-collector is installed, ensure that the configuration file
/etc/pgpro-otel-collector/basic.yml
contains valid connection parameters and the required set of plugins.Note
pgpro-otel-collector supports Unix socket connections.
Start pgpro-otel-collector:
# systemctl status pgpro-otel-collector
pgpro-otel-collector will automatically start collecting and sending data according to the parameters in the configuration file.