Closed FabFouge closed 2 years ago
Hello,
Yes, if they are available on the Freebox API. But which pieces of info from the Freebox API are you referring to?
There are already a few Prometheus metrics available:
freebox_switch_port_bytes
which is the throughput for each ethernet port with the tags:dir
== rx
when the packet is received or tx
when it is transmittedid
== identifier of the physical port (1, 2, 3, 4)state
== good
or bad
for rx
, empty for tx
freebox_switch_port_packets
same for the number of packetsfreebox_wifi_station_bytes
for the throughput on wifi:dir
== rx
or tx
id
== the client's MAC address. You may have more info on the client with freebox_wifi_station_info
Hello, Thanks for your feedback. I wanted to know if these metrics (indicated in the image) were available
yes, we may graph those with the rate() function on Prometheus.
For example we may have this kind of query (to be changed given the frequency of the scrapes):
rate(freebox_wifi_station_bytes[5m])
rate(freebox_switch_port_bytes[5m])
, the bandwidth being freebox_switch_port_bandwidth_bytes
rate(freebox_connection_bytes[5m])
, the bandwidth being freebox_connection_bandwidth_bytes
Hello, I just got it. It's exactly what I was looking for. Thank you for your quick and clear response. Nice day
Hello, Is it possible to have real-time throughput metrics (Download/Upload) ?