Prometheus remote write to Thanos issue

212 views
Skip to first unread message

Anup R Shetty

unread,
Sep 17, 2021, 8:09:22 AM9/17/21
to Prometheus Users
Hi All,
I have Prometheus installed in my on-premise infra and Thanos in cloud.
I have given below remote write configuration in prometheus.yml file.

remote_write:
  - url: '<Thanos URL>'
    basic_auth:
      username: '<username>'
      password: '<password>'
    proxy_url: '<Proxy_URL>'

Remote write happening if connectivity from Prometheus to Thanos established correctly.

Problem:
Prometheus provides a default feature - retry on failure to send the data.
 When I remove the proxy for 10 min. Prometheus not able to send the data to Thanos. After 10 min, if I add the proxy back,

Expectation:
Prometheus should send the previous 10 min data to Thanos.

Actual:
But Prometheus is not retrying/sending previous 10 min data to Thanos. It will only send the data from the time when we added the proxy back.

Any suggestions are helpful.

Thank you.

Regards,
Anup 

Reply all
Reply to author
Forward
0 new messages