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

ERROR: could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory #133

Closed
asharabu opened this issue Jun 23, 2020 · 1 comment
Labels
Question Further information is requested

Comments

@asharabu
Copy link

Hi,

I am looking for to use timescale-promethues with my existing postgres container. I have installed timescaleDB on my postgres container using the link and enabled timescaledb extension after that I am getting below error in timescale-prometheus container. Please let me know what I need to do to activate this extension,

db_1 | 2020-06-23 14:49:00.717 UTC [56] ERROR: could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory
db_1 | 2020-06-23 14:49:00.717 UTC [56] STATEMENT: CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext;

I have tried CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext; this command on postgres database but there I am getting below error,

postgres=# CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext;
ERROR: could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory

@cevian
Copy link
Contributor

cevian commented Jul 8, 2020

You need to also install the extension here: https://github.com/timescale/timescale-prometheus/tree/master/extension. But this should be optional. The connector should work without the extension as well. This extension just adds some performance improvements

@cevian cevian added the Question Further information is requested label Jul 17, 2020
@cevian cevian closed this as completed Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants