thanks!

On Wednesday, June 1, 2022 at 10:48:12 AM UTC-4 Julien Pivotto wrote:

> If follow_redirect is true, it should work. This is the default value.
>
> Le mer. 1 juin 2022, 16:35, Johny <[email protected]> a écrit :
>
>> We use a custom remote read adapter for reading time series data from our 
>> storage backend. In process of transitioning to different backend, I want 
>> to temporarily redirect selected remote read requests (filter on date) to 
>> the new remote read adapter. Does Prometheus remote read support redirects 
>> as detailed in HTTP specification? I want to avoid adding another hop in 
>> forwarding time series responses via the old adapter.
>>
>> *current flow:*
>> <prometheus>  
>>        ---grpc/http-->  <legacy_remote_read_adapter> 
>>                                              -----custom_protocol---> 
>> legacy_backend
>>
>> *new flow:*
>> <prometheus>
>>        ---grpc/http-->  <legacy_remote_read_adapter> 
>>                                        (now <= T)  
>> -----custom_protocol---> legacy_backend
>> *                                       (now > T)    ----http/redirect to 
>> new adapter*
>> *                                                                    ---> 
>> new_remote_read_adapter  ---> new_backend*
>> *                                                                        
>>            ---> ts directly to prometheus *
>>
>> In the highlighted section of flow, I want to use redirect so the 
>> response is forwarded directly to prometheus from the new remote read 
>> adapter.
>>
>>
>>
>>
>>
>> -- 
>> 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/5cfb460a-a262-4b18-b775-ecce02e8b571n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/5cfb460a-a262-4b18-b775-ecce02e8b571n%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/330db0b8-ea06-4036-8ebd-84d8a809d938n%40googlegroups.com.

Reply via email to