On Fri, Nov 27, 2020 at 10:52 AM Ben Kochie <[email protected]> wrote:

> On Fri, Nov 27, 2020 at 10:41 AM [email protected] <[email protected]>
> wrote:
>
>> > Soon! https://github.com/prometheus/prometheus/pull/8084
>>
>> That'll be a cool feature for data migration - thanks!
>>
>> Unfortunately I don't think it helps with the OP's problem, unless:
>> 1. federation is extended to query historical data (with range queries?)
>> 2. prometheus supports a remote_write endpoint for backfilling
>>
>
> No, it doesn't solve federation gaps. Only remote_write and Thanos do this
> correctly.
>
> IMO, Federation is mostly useful in extremely high-scale environments
> where the metrics on the "scrape Prometheus" instances are mostly used for
> recording rule rollups, and only the federation data is used.
>
> WIth remote_write and Thanos, I mostly see Federation as a legacy
> technique. It was an easy form of rollup and aggregation for large scale
> that was implemented in the early days.
>
>
>>
>> I can suggest another option for the OP though. They can run *two*
>> independent federation nodes, such that they are never both down at the
>> same time. Then put promxy <https://github.com/jacksontj/promxy> in
>> front of them, and query via that.  At query time, it will fill gaps in one
>> server with data from the other.
>>
>> Re Thanos: is there a simple one-process deployment for that yet?  What I
>> like about VictoriaMetrics is that I can run
>> /opt/victoria-metrics/victoria-metrics-prod 
>> -storageDataPath=/var/lib/victoria-metrics/data
>> -retentionPeriod=6 \
>>     -httpAuth.username=admin -httpAuth.password=XXXXXX
>> and I'm done.
>>
>
Forgot to reply to this one. No, not yet. I've made two proposals `./thanos
standalone` mode, which is possible. Also Epimitheus, a Promtheus with no
scraping, just a receiver for small use cases.

But, someone has to write the code. :)


> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/cdaa27d1-a4c3-47e3-91f6-25684449a529n%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/cdaa27d1-a4c3-47e3-91f6-25684449a529n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmr4mzeNrh3_vVWYZrZOuYaWZZYsfFCvxGc_tmw7Mns3oA%40mail.gmail.com.

Reply via email to