Skip to main content

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
  • ICMP ping — average, min, max (requires sudo)
  • 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_mshttp_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 jitter and packet loss (+ MOS voice quality score)
  • 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

latencetech.com

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

ltping-1.7.5.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ltping-1.7.5-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file ltping-1.7.5.tar.gz.

File metadata

  • Download URL: ltping-1.7.5.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ltping-1.7.5.tar.gz
Algorithm Hash digest
SHA256 bdd1f409182bb8133cdbf776ec29c5651f86e606548e7ad4ef13c85adb297234
MD5 142e7dff33c497b787ad79c7071afa3f
BLAKE2b-256 44a5eb18e8c8fdf7fd1d0eb825bf6a7787551a36d4a55a0fd59f226657ebfeae

See more details on using hashes here.

File details

Details for the file ltping-1.7.5-py3-none-any.whl.

File metadata

  • Download URL: ltping-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ltping-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bfae81adb2accbc5e77d0a5ce7b22939cc86e0a228c530950152563c1c6fbb87
MD5 3f6b055421f320946edb88a27553fe8c
BLAKE2b-256 d5d905962d972dcb0b6e7d279772c54fbbff8ae7295cc8f550852447da901a40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page