Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 1.49 KB

Readme.md

File metadata and controls

29 lines (19 loc) · 1.49 KB

Timescale-Prometheus Extra Extension

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.

Requirements

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

Installation

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.

Common Compilation Issues

  • cargo: No such file or directory means the Rust compiler is not installed
  • postgres.h not found means that you are missing the PostgreSQL header files. If using Debian or Ubuntu simply install the postgresql-server-dev-12 package. For other platforms see the PostgreSQL download page.