k8s-cloudwatch-adapter icon indicating copy to clipboard operation
k8s-cloudwatch-adapter copied to clipboard

Pulling in metrics from multiple AWS accounts

Open johnjeffers opened this issue 4 years ago • 5 comments

Is it possible to pull in metrics from multiple AWS accounts? I've tried running multiple copies (using different names) connecting to different AWS accounts, but the last one that starts takes over the external metrics API, so the metrics from the other account are no longer available.

johnjeffers avatar Jul 31 '19 21:07 johnjeffers

It does not work that way, at any one time there can only be one external metrics provider, that's why the last one takes over the API in your case. Right now this adapter does not support pulling metrics from multiple AWS accounts. In fact this is a good suggestion.

chankh avatar Aug 06 '19 08:08 chankh

Any progress on this? It would be extremely helpful!

johnjeffers avatar Oct 21 '19 21:10 johnjeffers

+1 on this. This feature would be very valuable for us as well.

CarloColumna avatar Mar 18 '20 01:03 CarloColumna

Would be good if the adapter could use federation to retrieve metrics from other accounts as well.

mmingorance-dh avatar Jul 07 '20 13:07 mmingorance-dh

Another +1 here. At my work the PaaS team operates an EKS cluster in account A, but we are encouraged to deploy our application resources (Queues, Topics, databases etc) in separate accounts B-Z. This leads to the frustrating situation of requiring an IAM role that can access things in both accounts, which is a bit harder for us to maintain - there's extra testing and coordination.

If we could get metrics from separate accounts then we could use the HPA to scale Pods based on an SQS queue that lives in a different account, making life much easier for us.

mukaibot avatar Jul 16 '20 03:07 mukaibot