Install Promscale on Red Hat or CentOS
You can install Promscale on a Red Hat or CentOS system, if you have an already installed and working Prometheus or OpenTelemetry environment.
Install TimescaleDB and the Promscale extension
To use Promscale, you need a TimescaleDB database, as well as the Promscale extension. The Promscale extension contains support functions to improve performance of Promscale.
Installing TimescaleDB and the Promscale extension
- Install TimescaleDB following the instructions in the TimescaleDB install page
Install the Promscale extension:
yum install promscale-extension-postgresql-14
You can also use other versions of Postgres by changing the version in
promscale-extension-postgresql-<version>
, Promscale supports Postgres 12, 13 and 14 versions.
Install the Promscale Connector
The Promscale Connector consumes PromQL queries natively and fetches data from TimescaleDB to execute them, while SQL queries go directly to TimescaleDB. After you install TimescaleDB and the Promscale extension, you can install the Promscale Connector using this command:
- If you are installing Promscale Connector on a different host, You have to setup the timescale package registry similar to TimecaleDB pre-install instructions.
Install Promscale Connector
yum install promscale