On Fri, Nov 27, 2020 at 10:02 AM b.ca...@pobox.com <b.cand...@pobox.com>
wrote:

> On Friday, 27 November 2020 at 04:35:18 UTC shrika...@gmail.com wrote:
>
>> Is there any configuration to scrape the metrics from the time when the
>> last successful transaction happened.
>>
>
> No.  Prometheus has no "back-fill" capability, or any ability to ingest
> historical data.
>

Soon! https://github.com/prometheus/prometheus/pull/8084

Should be in 2.24.0.


>
>
>> Or else is there any other ways by which we can solve this issue.
>>
>
> Using something other than federation.  remote_write is able to buffer up
> data locally if the endpoint is down.
>
> Prometheus itself can't accept remote_write requests, so you'd have to
> write to some other system
> <https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage>
> which can.  I suggest VictoriaMetrics, as it's simple to run and has a very
> prometheus-like API, which can be queried as if it were a prometheus
> instance.
>

I recommend Thanos, as it scales better and with less effort than
VictoriaMetrics. It also uses PromQL code directly, so you will get the
same results as Prometheus, not an emulation of PromQL.


>
>
-- 
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/aa8ec4c9-7296-42e3-9658-41eac1c677a0n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/aa8ec4c9-7296-42e3-9658-41eac1c677a0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmqfvJzskZZJvBAyz6tYgHWiFQuWGLAuuMmQwZFaW-9E%3Dg%40mail.gmail.com.

Reply via email to