This Postgres extension contains support functions to improve the performance of Timescale-Prometheus. While Timescale-Prometheus will run without it, adding this extension will cause it to perform better.
To run the extension:
- PostgreSQL version 12 or newer.
To compile the extension:
- Header files for PostgreSQL version 12 or newer. Headers are included in the
postgresql-server-dev-12
package in Debian or Ubuntu. For other platforms see the PostgreSQL download page. - Rust compiler
The extension is installed by default on the
timescaledev/timescale_prometheus_extra:latest-pg12
docker image.
To compile and install from source run: make && make install
.
This extension will be created via CREATE EXTENSION
automatically by the timescale-prometheus connector and should not be created manually.
cargo: No such file or directory
means the Rust compiler is not installedpostgres.h
not found means that you are missing the PostgreSQL header files. If using Debian or Ubuntu simply install thepostgresql-server-dev-12
package. For other platforms see the PostgreSQL download page.