HTTP/DNS/TCP latency tool with SLO validation and HDR histogram — by LatenceTech
Project description
ltping — HTTP/DNS/TCP latency tool
ltping is a command-line tool for measuring HTTP, DNS, and TCP latency with SLO validation and HDR histogram statistics.
Open-source edition (AGPL-3.0) by LatenceTech.
Features
- HTTP latency with full percentile distribution (p50, p75, p90, p95, p99, p99.9)
- DNS resolution latency measurement
- HDR Histogram with coordinated omission correction (Gil Tene)
- SLO validation — define thresholds in YAML, get pass/fail per site
- Multi-language output (EN, FR, ES, DE, JA, ZH, PT)
- CSV export with histogram blobs for offline analysis
- Interval mode (
--interval) for continuous monitoring - Sites file (
sites.yaml) for batch multi-site testing
Installation
pip install ltping
Quick start
# Single site
ltping https://example.com
# Multiple sites from config file
ltping --sites-file sites.yaml
# Continuous monitoring every 60 s
ltping https://example.com --interval 60
# Export to CSV
ltping --sites-file sites.yaml --csv results.csv
Configuration
Create a ltping.yaml file:
nb_measures: 10
timeout: 10
language: EN
verbosity: full
Create a sites.yaml file:
- url: https://example.com
slo:
http_p95_ms: 500
dns_ms: 100
- url: https://github.com
slo:
http_p99_ms: 1000
http_p95_ms: 500
SLO keys
| Key | Description |
|---|---|
http_p50_ms … http_p999_ms |
HTTP latency percentiles |
http_max_ms |
HTTP worst-case latency |
dns_ms |
DNS resolution time |
stability_ratio |
p99 / p50 ratio |
PRO edition
The ltping-pro commercial edition adds:
- ICMP ping with jitter and packet loss
- TCP handshake latency
- TLS handshake latency + certificate inspection
- CDN detection (Cloudflare, CloudFront, Fastly, Akamai…)
- MTU path discovery
- Traceroute with per-hop jitter/loss
- MOS voice-quality score (ITU-T G.107)
- Prometheus export
- Webhook alerts
- Baseline comparison
License
AGPL-3.0 — see LICENSE for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ltping-1.7.1.tar.gz.
File metadata
- Download URL: ltping-1.7.1.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5753108301346437879e164d92d307d885e2bdbeceb78d8c9d47ed20fb6fa59a
|
|
| MD5 |
0bebb49c8927c0eee584549e86df3015
|
|
| BLAKE2b-256 |
fc4102411e2ee69674514f37fe9d576c156af90a4f7c3b3b4faa2fe01f3e8a79
|
File details
Details for the file ltping-1.7.1-py3-none-any.whl.
File metadata
- Download URL: ltping-1.7.1-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
767dfc05659eaaa2b7b0fe88c91d64013cbbd131a9e414af4476b7fe911cabef
|
|
| MD5 |
cd9b69e564f3c2ce74858fb791a3ffb9
|
|
| BLAKE2b-256 |
b7070cf19e107bf8b1e87107210f35497079e625aa61835b7ff7e5f16205eb93
|