Giter VIP home page Giter VIP logo

Comments (4)

trazfr avatar trazfr commented on August 22, 2024

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:

  • From Get a port stats:
    • 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 transmitted
      • id == 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 packets
  • From Get Wi-Fi Stations List:
    • freebox_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

from freebox-exporter.

FabFouge avatar FabFouge commented on August 22, 2024

Hello,
Thanks for your feedback.
I wanted to know if these metrics (indicated in the image) were available

Metrics

from freebox-exporter.

trazfr avatar trazfr commented on August 22, 2024

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):

  • on the wifi: rate(freebox_wifi_station_bytes[5m])
  • on the switch: rate(freebox_switch_port_bytes[5m]), the bandwidth being freebox_switch_port_bandwidth_bytes
  • on the wlan: rate(freebox_connection_bytes[5m]), the bandwidth being freebox_connection_bandwidth_bytes

from freebox-exporter.

FabFouge avatar FabFouge commented on August 22, 2024

Hello,
I just got it. It's exactly what I was looking for.
Thank you for your quick and clear response.
Nice day

from freebox-exporter.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.