Installing EDB OTEL

To install and enable the edb_otel extension, use the steps that follow.

The edb_otel extension is available only for PostgreSQL version 17 on RHEL 9.

Installing the package

Prerequisites

Before you begin the installation process:

Install the package

The syntax to install edb_otel on EDB Postgres Advanced Server and EDB Postgres Extended is:

# For EDB Postgres Advanced Server:
sudo <package-manager> -y install edb-as<postgres_version>-edb_otel

# For EDB Postgres Extended:
sudo <package-maanger> -y install edb-postgresextended<postgres_version>-edb_otel

Where:

  • <package-manager> is the package manager used with your operating system:

    Package managerOperating system
    dnfRHEL 9 and derivatives
  • <postgres_version> is the version of Postgres you're using.

For example, to install the latest version of edb_otel for EDB Postgres Advanced Server 17 on a RHEL 9 platform:

sudo dnf -y install edb-as17-edb_otel

The syntax to install edb_otel on PostgreSQL is:

# For RHEL 9 and its derivatives:
sudo dnf -y install edb_otel_<postgres_version>

Where <postgres_version> is the version of PostgreSQL you're using.

Enabling the extension

To enable the extension:

  1. Edit the postgresql.conf file, modifying the shared_preload_libraries parameter:

    shared_preload_libraries = '$libdir/edb_otel'
  2. Restart the Postgres server.

  3. Create the edb_otel extension in your database:

    # Connect to your database using psql
    psql -d postgres -U enterprisedb
    # Create the extension
    CREATE EXTENSION edb_otel;

Could this page be better? Report a problem or suggest an addition!