Skip to content

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