timescale / prometheus-postgresql-adapter

Use PostgreSQL as a remote storage database for Prometheus
Apache License 2.0
335 stars 66 forks source link

Problem with remote read #66

Open yvbondarenko opened 5 years ago

yvbondarenko commented 5 years ago

Hi, I've configured promemtheus 2.7.1 remote_write:

I set retention period - 1d in Prometheus I see that data writing to PG (TimeScale DB), but grafana and prometheus UI don't show data older 1d.

bboule commented 5 years ago

Not sure if this is a bug, will investigate in the meantime your metrics are in TSDB have you tried pointing Grafana at this using the postgresql connector and building your dashboards this way?