prometheus-postgresql-adapter
prometheus-postgresql-adapter copied to clipboard
Use PostgreSQL as a remote storage database for Prometheus
Hi All, I use the pre-built binaries to push the prometheus data to postgresql issue: err="pq: Ident authentication failed for user \"postgres\"" but the postgresql is normal, and the user...
mondb=# \dt List of relations Schema | Name | Type | Owner --------+----------------+-------+---------- public | metrics_copy | table | postgres public | metrics_labels | table | postgres public | metrics_values...
We employ replicated postgres solution and would like to balance read load across replicas. Nonetheless it would be nice if it would work when the replica is promoted to leader....
Hi, One one of our clusters we're fighting with integrity constraint errors: "level=warn ts=2018-11-13T16:00:00.390643264Z caller=main.go:274 msg="Error sending samples to remote storage" err="pq: duplicate key value violates unique constraint \"metrics_labels_metric_name_labels_key\"" storage=PostgreSQL...
Hi, I've configured promemtheus 2.7.1 remote_write: - url: "http://192.168.2.239:9201/write" remote_read: - url: "http://192.168.2.239:9201/read" I set retention period - 1d in Prometheus I see that data writing to PG (TimeScale DB),...
After connecting with the adapter, prometheus pods are not stable, restaring too many times. Not able to connecto to postgres database using a client, I keep on getting "Too many...
Hi, I am facing issues while running pg-adapter. We are using prometheus (2.8.1) along with Postgresql (10.5) as a remote storage. It was running fine, but when I redeployed the...
I am running 2 identical prometheus containers talking to their respective prometheus.yml files. adapter1 is running a timescale/prometheus-postgresql-adapter:latest \ on a port (:xxxx) with lockid=1 and locktimeout=25s adapter2 is running...
I am setting this up in kubernetes and getting the below error in adapter logs > _level=info ts=2019-05-10T09:28:20.158622915Z caller=log.go:25 config="&{remoteTimeout:30000000000 listenAddr::9201 telemetryPath:/metrics pgPrometheusConfig:{host:pg-prometheus port:5432 user:postgres password: database:postgres schema: sslMode:disable table:metrics...
``` +--------------------+ +----------------------+ +------------------+ | | | prometheus | | pg_prometheus| | prometheus |