timescale / prometheus-postgresql-adapter

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

Error Sending Samples to Remote Storage #70

Open Keshav0690 opened 5 years ago

Keshav0690 commented 5 years ago

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 services I started to get the issue

msg="Error sending samples to remote storage" err="pq: tuple concurrently updated" storage=PostgreSQL num_samples=3

Can anyone help on how to resolve this.

Regards, Keshav Sharma

bboule commented 5 years ago

would it be possible to tell me a little more about how you have deployed version of our adapter you are using etc. also it would be helpful if you could tail the logs for the adapter and share some of that may give me some insight into what is happening!