Calculate 95th percentile bandwidth with nodeexporter

Hello,

I have installed grafana and nodeexporter on my infrastructure.

I would like to display the 95th percentile of the bandwidth of my instance because my host charges it if I exceed a certain threshold.

I found the metrics node_network_receive_bytes_total and node_network_transmit_bytes_total which correspond to the total bytes received / sent by the node.

I created 2 queries to calculate 95% of the lowest values on the network every 5 minutes:

quantile(0.95, sum(irate(node_network_receive_bytes_total{instance=“my-instance”,job=“nodeexporter”}[5m]))) * 8)

quantile(0.95, sum(irate(node_network_transmit_bytes_total{instance=“my-instance”,job=“nodeexporter”}[5m])) * 8)

I have some values displayed, but I don’t know if they are the right values. What do you think?
Do you know how to check that it’s returning the right values?

Thank you very much for your help!

Any luck or an update you can make in regards to these queries? Just spent 2 hours trying to figure something out myself, I couldn’t.