Hi Team,

So, there's a requirement , a single prometheus server should scrape from 
multiple targets (in our case, that would be two containers) and they should 
have their individual remote writes to single cortex server.And it is because, 
they would like to identify different vendors on the basis on JWT tokens. The 
JWT tokens would be provided by the customer itself for each vendor.So, suppose 
1st container generates metrics for first vender, 2nd container for another 
vender. Now there's our prometheus server that scrapes from these two 
containers. Now, first vender and second vender metrics are being written to a 
remote site (CORTEX) using the remote write API provided by Prometheus 
individually via two different scrap config in single config file.


So, do you think we can individually have different remote writes for different 
scrape targets? If yes, then we would like send the JWTs given by them as well 


So, I saw that bearer_token is the place for mentioning the tokens. But how to 
achieve the above scenario? Do you think it's doable?

Please suggest any approach with sample that would be highly appriciable . 

-- 
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/79d1daea-077f-4b0a-a108-1de561d17cf2o%40googlegroups.com.

Reply via email to