Do we need 2 config.yml for fetching metrics from 2 separate regions ?

97 views
Skip to first unread message

m-mukesh

unread,
Nov 11, 2020, 2:09:31 AM11/11/20
to Prometheus Users
Hello All......i have a scenario where i need to fetch ALB metrics from us-west-2 region, and also Cloudfront metrics. As per documentation, we need to specify region=us-east-1 for cloudfront metrics. But, as per the cloudwatch exporter docs, looks like we can specify only 1 region name in single config file. Please let me know whether we need 2 separate config files, and also do we need to create 2 cloudwatch-exporter services with separate ports like 9106, 9107 ?
Please guide me on this.  

Søren Valentin Silkjær

unread,
Oct 23, 2022, 5:00:12 AM10/23/22
to Prometheus Users
Hi. I have the same question, did you find an answer?

Arunprasadh PM

unread,
Apr 30, 2023, 5:22:28 AM4/30/23
to Prometheus Users
Hi,

We are facing the same issue, do we have a solution to manage multiple regions? 
One is global/us-east-1 for Cloudfront  and other region for services like RDS.

We are facing issue to configure both in a  single config file?

Stuart Clark

unread,
Apr 30, 2023, 5:29:11 AM4/30/23
to Arunprasadh PM, Prometheus Users
On 21/04/2023 13:53, Arunprasadh PM wrote:
> Hi,
>
> We are facing the same issue, do we have a solution to manage multiple
> regions?
> One is global/us-east-1 for Cloudfront  and other region for services
> like RDS.
>
> We are facing issue to configure both in a  single config file?

You would need to be running multiple instances of the exporter.

--
Stuart Clark

Reply all
Reply to author
Forward
0 new messages