Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Rewrite with custom collector #176

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jkoelker
Copy link

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

If caching is enabled, the exporter will respond with cached values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use custom collector to correctly track metrics
1 participant