I think what you're looking for is node_exporter metrics if you want host
level data.

For example, node_network_receive_bytes_total

On Thu, Jul 13, 2023 at 10:56 PM Anoop <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/prometheus-users/a43a1b21-aff4-4c94-8c25-a3fd961162bbn%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/CABbyFmrtKZQvood%2BKDQ0MJoppBTg%2BXRL3D5D4fimW7fCzuquug%40mail.gmail.com.

Reply via email to