![]() ![]() Prometheus Default Port Allocations Guide. Prometheus Speedtest defaults to running on port 9516 this is the allocated You can also visit in your browser to see the same # HELP bytes_sent Bytes sent during test # TYPE bytes_sent gauge ![]() # HELP bytes_received Bytes received during test # TYPE bytes_received gauge # HELP ping_ms Latency (ms) # TYPE ping_ms gauge # HELP upload_speed_bps Upload speed (bit/s) # TYPE upload_speed_bps gauge # HELP download_speed_bps Download speed (bit/s) # TYPE download_speed_bps gauge Speedtests can be instrumented with cURL. Once prometheus_speedtest has been started, with either Docker or PyPi, Wait around 45 seconds for Prometheus to perform a Speedtest v $PWD/example/prometheus.yml:/etc/prometheus/prometheus.yml \ Start Prometheus docker run -rm -d -net prometheus_network -p 9516:9516/tcp \ name prometheus_speedtest jraviles/prometheus_speedtest:latest Start Prometheus Speedtest docker run -rm -d -net prometheus_network -p 9516:9516/tcp \ Prometheus_speedtest and prometheus together. Prometheus container to prometheus_speedtest. Note if you're running prometheus under Docker, you must link the global : scrape_timeout : 2m scrape_configs : - job_name : 'speedtest' metrics_path : /probe static_configs : - targets : - localhost:9516 To start instrumenting Speedtests and recording their metrics. Speedtest metrics available to query in Prometheus. Speedtests on an interval and record their results. Prometheus_speedtest is best when paired with More than one replica of Prometheus, as each replica independently scrapes ![]() Just keep in mind, that if you increase the replica count, then Prometheus will Need to change that in your Prometheus config map. Kubernetes-pods-slow job that comes with Prometheus, which is configured withĥm scrape times and 30s timeouts. The Kubernetes YAML files are pre-configured to work with the Since you can run this from a Docker container, you can also run it in Kubernetes. Jraviles/prometheus_speedtest:latest -version For example: $ docker run -rm -name prometheus_speedtest -p 9516:9516/tcp \ You can also append extra flags when running with Docker. docker run -rm -d -name prometheus_speedtest -p 9516:9516/tcp jraviles/prometheus_speedtest:latest Prometheus_speedtest is also available as a Docker image servers: speedtest server(s) to use - leave empty for auto-selection excludes: speedtest server(s) to exclude - leave empty for no exclusion Usage Instrument speedtests from Prometheus. Installing pip install prometheus_speedtest These instructions will install and run prometheus_speedtest on your system. ![]()
0 Comments
Leave a Reply. |