MiguelNdeCarvalho / speedtest-exporter

Speedtest Exporter made in python using the official speedtest bin
https://docs.miguelndecarvalho.pt/projects/speedtest-exporter/
GNU General Public License v3.0
197 stars 56 forks source link

RFC: Rewrite with custom collector #176

Open jkoelker opened 2 years ago

jkoelker commented 2 years ago

Rewrite the collection to use a custom collector. The result UUID is added to the metric as a label, and is optionally cached for SPEEDTEST_CACHE_FOR seconds.

This attempts to be largely backwards compatible, the only exception is the removal of the speedtest_server_id metric, this could be replaced by a label eventually.

Fixes: #144