Chapter 5. Installation

  1. pgpro-otel-collector is installed from the Postgres Pro software repository. To install the repository, download and run the script pgpro-repo-add.sh.

  2. 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
  1. 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.

  2. 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.