Hi,

I am using the metric *aws_ec2_network_in_average* (exposed by YACE 
exporter) in Prometheus to display the average network traffic received by 
an EC2 instance. However, I am checking, if there is any CAdvisor metrics 
available to replace the cloudwatch metric.

For eg; 
How can I replace the below query:
aws_ec2_network_in_average{instance="i-111b8ddf7cb4bf8d1"}

with CAdvisor metric, something like this:
avg(container_network_receive_bytes_total{kubernetes_io_hostname=~"ip-10-XX-XXX-44.us-west-2.compute.internal"})
 
by (kubernetes_io_hostname)
 
Kindly share your suggestions on this.

Thanks,


-- 
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/a43a1b21-aff4-4c94-8c25-a3fd961162bbn%40googlegroups.com.

Reply via email to