Installing EDB OTEL
To install and enable the edb_otel extension, use the steps that follow.
The edb_otel extension is available for the following:
Platform | Database Version | OS |
---|---|---|
PostgreSQL | 14 through 17 | RHEL 9 |
EDB Postgres Advanced Server | 14 through 17 | RHEL 9 |
EDB Postgres Extended Server | 14 through 17 | RHEL 9 |
Installing the package
Prerequisites
Before you begin the installation process:
Install Postgres. See:
Set up the repository.
Setting up the repository is a one-time task. If you've already set up your repository, you don't need to perform this step.
To set up the repository, go to EDB repositories and follow the instructions provided there.
If you are using RHEL 9, you also need to install the EPEL repository:
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
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-manager> -y install edb-postgresextended<postgres_version>-edb_otel
Where:
<package-manager>
is the package manager used with your operating system:Package manager Operating system dnf RHEL 9 and derivatives
<postgres_version>
is the version of Postgres you're using.
Examples:
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
To install the latest version of edb_otel for EDB Postgres Extended 17 on a RHEL 9 platform:
sudo dnf -y install edb-postgresextended17-edb_otel
The syntax to install edb_otel on PostgreSQL is:
# For RHEL 9 and its derivatives: sudo dnf -y install edb-pg<postgres_version>-edb_otel
Where <postgres_version>
is the version of PostgreSQL you're using.
Enabling the extension
To enable the extension:
Edit the
postgresql.conf
file, modifying theshared_preload_libraries
parameter:shared_preload_libraries = '$libdir/edb_otel'
Restart the Postgres server.
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;
- On this page
- Installing the package
- Enabling the extension
Could this page be better? Report a problem or suggest an addition!