{"id":13581890,"url":"https://github.com/danopstech/speedtest_exporter","last_synced_at":"2026-01-12T01:49:43.471Z","repository":{"id":39887764,"uuid":"358178237","full_name":"danopstech/speedtest_exporter","owner":"danopstech","description":"🏎️   Prometheus exporter that runs speedtest and exposes results","archived":false,"fork":false,"pushed_at":"2023-04-13T11:57:55.000Z","size":363,"stargazers_count":64,"open_issues_count":19,"forks_count":23,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T10:43:04.387Z","etag":null,"topics":["docker","metrics","prometheus","prometheus-exporter","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danopstech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["dwillcocks"]}},"created_at":"2021-04-15T08:07:40.000Z","updated_at":"2025-02-19T14:21:16.000Z","dependencies_parsed_at":"2024-06-19T00:13:14.952Z","dependency_job_id":"c3524fc2-fefb-41d8-a1dc-d572d4fbfc82","html_url":"https://github.com/danopstech/speedtest_exporter","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/danopstech/speedtest_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danopstech%2Fspeedtest_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danopstech%2Fspeedtest_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danopstech%2Fspeedtest_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danopstech%2Fspeedtest_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danopstech","download_url":"https://codeload.github.com/danopstech/speedtest_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danopstech%2Fspeedtest_exporter/sbom","scorecard":{"id":321523,"data":{"date":"2025-08-11","repo":{"name":"github.com/danopstech/speedtest_exporter","commit":"7b09f6cdb68a853d2348095d359ec67e97c7249b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.5 not signed: https://api.github.com/repos/danopstech/speedtest_exporter/releases/46791419","Warn: release artifact v0.0.4 not signed: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42223717","Warn: release artifact v0.0.3 not signed: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42143478","Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42096211","Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42093622","Warn: release artifact v0.0.5 does not have provenance: https://api.github.com/repos/danopstech/speedtest_exporter/releases/46791419","Warn: release artifact v0.0.4 does not have provenance: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42223717","Warn: release artifact v0.0.3 does not have provenance: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42143478","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42096211","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/danopstech/speedtest_exporter/releases/42093622"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/build.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/danopstech/speedtest_exporter/release.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating gcr.io/distroless/static to gcr.io/distroless/static@sha256:2e114d20aa6371fd271f854aa3d6b2b7d2e70e797bb3ea44fb677afec60db22c","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  10 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0322 / GHSA-cg3q-j54f-5p7p","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T01:29:01.756Z","repository_id":39887764,"created_at":"2025-08-18T01:29:01.756Z","updated_at":"2025-08-18T01:29:01.756Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","metrics","prometheus","prometheus-exporter","speedtest"],"created_at":"2024-08-01T15:02:18.075Z","updated_at":"2026-01-12T01:49:43.452Z","avatar_url":"https://github.com/danopstech.png","language":"Go","funding_links":["https://github.com/sponsors/dwillcocks"],"categories":["Go"],"sub_categories":[],"readme":"\u003cp align=center\u003e\n  \u003cimg alt=logo src=\"https://github.com/danopstech/speedtest_exporter/raw/main/.docs/assets/logo.jpg\" height=150 /\u003e\n  \u003ch3 align=center\u003eSpeedtest Prometheus Exporter\u003c/h3\u003e\n\u003c/p\u003e\n\n---\nA [Speedtest](https://www.speedtest.net) exporter for Prometheus.\n\n[![goreleaser](https://github.com/danopstech/speedtest_exporter/actions/workflows/release.yaml/badge.svg)](https://github.com/danopstech/speedtest_exporter/actions/workflows/release.yaml)\n[![build](https://github.com/danopstech/speedtest_exporter/actions/workflows/build.yaml/badge.svg)](https://github.com/danopstech/speedtest_exporter/actions/workflows/build.yaml)\n[![License](https://img.shields.io/github/license/danopstech/speedtest_exporter)](/LICENSE)\n[![Release](https://img.shields.io/github/release/danopstech/speedtest_exporter.svg)](https://github.com/danopstech/speedtest_exporter/releases/latest)\n[![Docker](https://img.shields.io/docker/pulls/danopstech/speedtest_exporter)](https://hub.docker.com/r/danopstech/speedtest_exporter)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/danopstech/speedtest_exporter)\n![os/arch](https://img.shields.io/badge/os%2Farch-amd64-yellow)\n![os/arch](https://img.shields.io/badge/os%2Farch-arm64-yellow)\n![os/arch](https://img.shields.io/badge/os%2Farch-armv7-yellow)\n[![Go Report Card](https://goreportcard.com/badge/github.com/danopstech/speedtest_exporter)](https://goreportcard.com/report/github.com/danopstech/speedtest_exporter)\n\n## Usage:\n\n### Flags\n\n`speedtest_exporter` is configured by optional command line flags\n\n```bash\n$ ./speedtest_exporter --help\nUsage of speedtest_exporter\n  -port string\n        listening port to expose metrics on (default \"9090\")\n  -server_fallback\n        If the serverID given is not available, should we fallback to closest available server\n  -server_id int\n        Speedtest.net server ID to run test against, -1 will pick the closest server to your location (default -1)\n\n```\n\n### Binaries\n\nFor pre-built binaries please take a look at the [releases](https://github.com/danopstech/speedtest_exporter/releases).\n\n```bash\n./speedtest_exporter [flags]\n```\n\n### Docker\n\nDocker Images can be found at [GitHub Container Registry](https://github.com/orgs/danopstech/packages/container/package/speedtest_exporter) \u0026 [Dockerhub](https://hub.docker.com/r/danopstech/speedtest_exporter).\n\nExample:\n```bash\ndocker pull ghcr.io/danopstech/speedtest_exporter:latest\n\ndocker run \\\n  -p 9090:9090 \\\n  ghcr.io/danopstech/speedtest_exporter:latest [flags]\n```\n\n### Setup Prometheus to scrape `speedtest_exporter`\n\nConfigure [Prometheus](https://prometheus.io/) to scrape metrics from localhost:9090/metrics\n\nThis exporter locks (one concurrent scrape at a time) as it conducts the speedtest when scraped, **remember set scrape interval, and scrap timeout** accordingly as per example.\n\n```yaml\n...\nscrape_configs\n    - job_name: speedtest\n      scrape_interval: 60m\n      scrape_timeout:  60s\n      static_configs:\n        - targets: ['localhost:9090']\n...\n```\n\n## Exported Metrics:\n\n```\n# HELP speedtest_download_speed_Bps Last download speedtest result\n# TYPE speedtest_download_speed_Bps gauge\n# HELP speedtest_latency_seconds Measured latency on last speed test\n# TYPE speedtest_latency_seconds gauge\n# HELP speedtest_scrape_duration_seconds Time to preform last speed test\n# TYPE speedtest_scrape_duration_seconds gauge\n# HELP speedtest_up Was the last speedtest successful.\n# TYPE speedtest_up gauge\n# HELP speedtest_upload_speed_Bps Last upload speedtest result\n# TYPE speedtest_upload_speed_Bps gauge\n```\n## Example Grafana Dashboard:\n\nhttps://grafana.com/grafana/dashboards/14336\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/danopstech/speedtest_exporter/raw/main/.docs/assets/screenshot.jpg\" width=\"95%\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopstech%2Fspeedtest_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanopstech%2Fspeedtest_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopstech%2Fspeedtest_exporter/lists"}