Skip to content

ngnetworkpro/cfspeedtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab - Speedtest

Brief Description: Build a Docker container that can run a speedtest to Cloudflare.

Prerequisites: GoLang, Docker installed

Installation:

  1. Download and build the Dockerfile.
  2. Run the container.

Functionality/Features: Runs speedtest to check Internet connectivity.
Uses net/http/httptrace to determine DNS and connection times.
Calculates average latency, tcp jitter, and dns times in milliseconds. Prints to stdout in Prometheus format so your exporter can pick it up.

Outputs: cf_start_timestamp cf_latency_ms cf_latency_ms cf_dnslookup_ms

Technologies Used: GoLang Docker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published