pdreker / fritz_exporter

Prometheus exporter for Fritz!Box home routers
Other
144 stars 32 forks source link

Feature idea - Export DSL syncronisations #289

Closed manuelmayer-dev closed 3 months ago

manuelmayer-dev commented 4 months ago

Summary Export total dsl synchronisations

Additional information Found on the FritzBox web interface at "internet -> dsl information -> statistics", however I don't know if the TR-064 API and fritzconnection python module supports this.

pdreker commented 4 months ago

I am quite sure that I already export all values presented via the API, but I will double check. As an alternative: it should be possible to derive the value from prometheus stats, with the added advantage, that reconnection would be persistent acrosss restart of the Fritz Box. This may require some diving into the prometheus documentation and seeing how one could derive the requested stats using PromQL and a recording rule.

pdreker commented 3 months ago

After a more thorough check: the box does not expose this metric via TR-064 and solving this via Prometheus recording rules is stiff proposal, as the metrics that are there are not really suitable for computing the value directly.

So unfortunately I will close this as "not planned".